I want to improve Dogbert
's answer a little bit:
resources "/tasks", TaskController do
get "/implement", TaskController, :implement, as: :implement
end
The only addition is as: :implement
in the end of the route.
Thus you will get route named task_implement_path
instead of ugly task_task_path
.