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 [f38e2e03351da463f84f6850fa10718ece98ff26] by Carlhuda

Revision f38e2e03351da463f84f6850fa10718ece98ff26, committed by Carlhuda · March 8th, 2010 @ 08:26 PM

Add support for mount RackApp, :at => "/sprockets" with a shorthand of mount Sprockets => "/sprockets".

This is different from the match syntax in that it cannot be used for controller/action and it does not
assume an anchor at the end of the match.

For instance, in the above example, if the client asked for "/sprockets/foo.js", the Sprockets app would
have a SCRIPT_NAME of "/sprockets" and PATH_INFO of "/foo.js".
http://github.com/rails/rails/commit/f38e2e03351da463f84f6850fa1071...

4 changed files

  • A actionpack/test/dispatch/mount_test.rb
  • M actionpack/lib/action_dispatch/routing/mapper.rb
  • M actionpack/lib/action_dispatch/routing/route.rb
  • M actionpack/lib/action_dispatch/routing/route_set.rb