Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add passing tests for generating URLs with nested SCRIPT_NAMEs | Jeremy Kemper | 2012-05-07 | 1 | -3/+12 |
| | |||||
* | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | 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 | ||||
* | Extended url_for to handle specifying which router should be used. | Piotr Sarnacki | 2010-09-03 | 1 | -0/+1 |
| | | | | | | | A few examples: url_for Blog::Engine, :posts_path url_for Blog::Engine, @post url_for Blog::Engine, :action => "main", :controller => "index" | ||||
* | Get rid of :skip_prefix options in routes | Piotr Sarnacki | 2010-09-03 | 1 | -1/+1 |
| | |||||
* | Unify routes naming by renaming router to routes | Piotr Sarnacki | 2010-07-02 | 1 | -8/+8 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Swear I ran this test | Jeremy Kemper | 2010-03-15 | 1 | -1/+1 |
| | |||||
* | Integration test url options should account for :protocol not just https? | Jeremy Kemper | 2010-03-15 | 1 | -1/+6 |
| | |||||
* | Remove the ability to set the mountpoint when initializing a route set. | Carl Lerche | 2010-03-04 | 1 | -24/+4 |
| | |||||
* | Tweak out url_for uses :script_name and add some tests | Carl Lerche | 2010-03-04 | 1 | -0/+58 |