Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix missing Rails.env in route inspect tests | Yehuda Katz | 2012-04-25 | 1 | -0/+1 |
| | |||||
* | Clean up some straggling build failures | Jose and Yehuda | 2012-04-24 | 1 | -7/+7 |
| | |||||
* | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964 | ||||
* | fixes a test: rake routes now includes PATCH for resources | Xavier Noria | 2012-02-24 | 1 | -0/+1 |
| | |||||
* | Don't hardcode assets route skipped in route inspector | Guillermo Iguaran | 2012-01-14 | 1 | -0/+14 |
| | |||||
* | require minitest rather than test/unit | Aaron Patterson | 2012-01-06 | 1 | -1/+1 |
| | |||||
* | convert railties to use AS::TestCase | Aaron Patterson | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | Correctly display rack apps with dynamic constraints in RoutesInspector | Piotr Sarnacki | 2011-12-26 | 1 | -0/+17 |
| | | | | | | | | | | | | | If you used dynamic constraint like that: scope :constraint => MyConstraint.new do mount RackApp => "/foo" end routes were not displayed correctly when using `rake routes`. This commit fixes it. If you want nice display of dynamic constraints in `rake routes` output, please just override to_s method in your constraint's class. | ||||
* | Display mounted engines in `rake routes` by default | Piotr Sarnacki | 2011-11-25 | 1 | -4/+0 |
| | |||||
* | Allow to display engine's routes when running `rake routes ENGINES=true` | Piotr Sarnacki | 2011-11-24 | 1 | -0/+30 |
| | |||||
* | On inpsect routes, show :controller and :action to indicate dynamic. | Hendy Tanata | 2011-10-29 | 1 | -2/+10 |
| | |||||
* | move route inspecting to an object so that we can more easily test it | Aaron Patterson | 2011-09-09 | 1 | -0/+97 |