Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the wildcard route to be non-greedy by default, therefore be able to match the (.:format) segment #244

Closed
wants to merge 2 commits into from

Conversation

sikachu
Copy link
Member

@sikachu sikachu commented Mar 28, 2011

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.

The discussion is here: https://rails.lighthouseapp.com/projects/8994/tickets/6605

…ble to match the (.:format) segment [rails#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.
It seems like in 89c5b9a Aaron actually put the test in action_dispatch folder. However, there's already a `test/dispatch` directory which I think it's more appropriate.
@pixeltrix pixeltrix closed this Mar 29, 2011
matthewd pushed a commit that referenced this pull request Apr 24, 2018
Add tests for Nodes::Equality and Nodes::NotEqual to the ToSql class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants