| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Previously it was:
{:controller=>"photos", :action=>"show", :id=>/[A-Z]\d{5}/}
Now it becomes:
photos#show {:id=>/[A-Z]\d{5}/}
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
match the (.:format) segment [#6605 state:resolved]
After some discussion with Andrew White, it seems like this is a better approach for handling a wildcard route. However, user can still bring back the old behavior by supplying `:format => false` to the route.
Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
plainly
|
|
|
|
| |
of named parameters
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
file as well
|
| |
|
|
|
|
|
|
| |
resources :posts, :path => "/admin"
would route "/admin/posts" to the PostsController but it actually routed "/admin" to the PostsController
|
|
|
|
| |
archived LH project
|
| |
|
| |
|
| |
|
|
|
|
| |
module.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
use case
|
|
|
|
| |
's/[ \t]*$//' -i {} \;)
|
|
|
|
| |
the routes task
|
| |
|
| |
|
|
|
|
| |
plural
|
| |
|
|
|
|
| |
than as a specific prefixing option (which :name_prefix used to be).
|
| |
|
| |
|
|
|
|
| |
constraints
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
state:resolved]
|
| |
|
| |
|
| |
|