Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [2c39836dc3c06813fce031d1bb390149b53ebd1c] by Marcos Arias

Revision 2c39836dc3c06813fce031d1bb390149b53ebd1c, committed by Repository · May 6th, 2008 @ 10:48 AM

Refactored and fixed Resources.map_member_actions to make use of custom ActionController::Base.resources_path_names when the option :path_names is not directly specified. Added a specific test for this functionality and fixed assert_restful_routes_for test helper to make use of ActionController::Base.resources_path_names instead of just "new" or "edit".

Signed-off-by: Michael Koziarski

[#111 state:resolved]

http://github.com/rails/rails/co...

2 changed files

  • M actionpack/lib/action_controller/resources.rb
  • M actionpack/test/controller/resources_test.rb