Hello everybody,
I would like to use a pretty path like new_article in order to route
easily on a specific ressource.
In my case, I had added this new action in my articles controller:
def lock
#…
end
And now I would like to use a path such as: lock_article. But when I do
this: rake routes, I don’t see this path.
In my routes.rb file, I just have this:
map.resources :articles
Thanks for any ideas. ENJOY RAILS!!!