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 [451c9942bb493190d5673c1b55be7506056db13b] by Piotr Sarnacki

Revision 451c9942bb493190d5673c1b55be7506056db13b, committed by Piotr Sarnacki · September 3rd, 2010 @ 09:59 PM

Allow to generate Application routes inside Engine

This requires knowledge about original SCRIPT_NAME and
the parent router. It should be pass through the env
as ORIGIAL_SCRIPT_NAME and action_dispatch.parent_routes
http://github.com/rails/rails/commit/451c9942bb493190d5673c1b55be75...

3 changed files

  • M actionpack/lib/action_dispatch/routing/mapper.rb
  • M actionpack/lib/action_dispatch/routing/url_for.rb
  • M actionpack/test/dispatch/prefix_generation_test.rb