This project is archived and is in readonly mode.
Changeset [f38e2e03351da463f84f6850fa10718ece98ff26] 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...
Committed by Carlhuda
- 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
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>