Here's the routes.rb:
map.resources :assignments, :shallow => true do |assignment|
assignment.resources :problems
end
How do i get the url to edit a problem (/assignments/xyz/problems/abc/edit), in code? I have tried both
edit_assignment_problem_path(assignment,problem)
and edit_problem_path(problem).
While the first one works on my local setup, on server it says that method edit_assignment_problem_path is not defined. Any ideas?