- 14 8月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 29 6月, 2012 1 次提交
-
-
由 José Valim 提交于
This reverts commit 6acebb38. Usage of this feature did not reveal any improvement in existing apps. Conflicts: actionpack/lib/action_dispatch/routing/mapper.rb guides/source/routing.textile railties/lib/rails/engine.rb railties/lib/rails/paths.rb railties/test/paths_test.rb
-
- 24 6月, 2012 1 次提交
-
-
由 Perry Smith 提交于
-
- 15 6月, 2012 1 次提交
-
-
由 kennyj 提交于
-
- 03 6月, 2012 1 次提交
-
-
由 Vijay Dev 提交于
-
- 01 6月, 2012 1 次提交
-
-
由 schneems 提交于
From the Pull Request #6461
-
- 30 5月, 2012 2 次提交
-
-
由 Saulius Grigaliunas 提交于
-
由 Saulius Grigaliunas 提交于
-
- 26 5月, 2012 1 次提交
-
-
由 Ryan Bigg 提交于
This is fairly common in Rails applications and is requested a lot of the time on Stack Overflow and #rubyonrails
-
- 24 5月, 2012 2 次提交
-
-
由 Rory O’Kane 提交于
-
- 22 5月, 2012 1 次提交
-
-
由 Gaurish Sharma 提交于
This syntax does not seem to work. Throws the error "can't convert String into Hash (TypeError)" Tested on: * Ruby 1.9.3 * Rails 3.2.3
-
- 28 4月, 2012 1 次提交
-
-
由 Uģis Ozols 提交于
-
- 26 4月, 2012 1 次提交
-
-
由 Jose and Yehuda 提交于
This feature enables the ability to load an external routes file from the router via: draw :filename External routes files go in +config/routes+. This feature works in both engines and applications.
-
- 25 4月, 2012 1 次提交
-
-
由 Jose and Yehuda 提交于
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
-
- 01 4月, 2012 1 次提交
-
-
由 Vijay Dev 提交于
-
- 29 3月, 2012 1 次提交
-
-
由 Henrik N 提交于
-
- 17 3月, 2012 1 次提交
-
-
由 Xavier Noria 提交于
-
- 07 3月, 2012 2 次提交
-
-
由 coreyhaines 提交于
path segment
-
由 coreyhaines 提交于
-
- 06 3月, 2012 1 次提交
-
- 28 2月, 2012 1 次提交
-
-
由 Vijay Dev 提交于
-
- 27 2月, 2012 3 次提交
-
-
由 Florent Guilleux 提交于
-
由 Tima Maslyuchenko 提交于
-
由 Tima Maslyuchenko 提交于
-
- 25 2月, 2012 2 次提交
-
-
由 Xavier Noria 提交于
There was a mix, sometimes patch first, sometimes put first. Use always patch first, since this is going to be the primary verb for updates.
-
由 Xavier Noria 提交于
uses PATCH for the forms of persisted records, and routes PATCH and PUT to the update action of resources
-
- 23 2月, 2012 1 次提交
-
-
由 David Lee 提交于
PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update.
-
- 11 12月, 2011 1 次提交
-
-
由 Ryan Sandridge 提交于
-
- 31 10月, 2011 1 次提交
-
-
由 Alexey Vakhov 提交于
-
- 06 10月, 2011 2 次提交
-
-
由 Hendy Tanata 提交于
-
由 Prem Sichanugrist 提交于
I had to try out myself to realize that it's 301, so this should be helpful to everyone.
-
- 15 9月, 2011 1 次提交
-
-
由 Vijay Dev 提交于
-
- 14 8月, 2011 1 次提交
-
-
由 Erik Michaels-Ober 提交于
-
- 26 7月, 2011 1 次提交
-
-
由 Erik Michaels-Ober 提交于
-
- 16 7月, 2011 3 次提交
-
-
由 Hendy Tanata 提交于
Previously it was: {:controller=>"photos", :action=>"show", :id=>/[A-Z]\d{5}/} Now it becomes: photos#show {:id=>/[A-Z]\d{5}/}
-
由 Vishnu Atrai 提交于
-
- 15 7月, 2011 1 次提交
-
-
由 Hendy Tanata 提交于
Should be "match" instead of "map".
-
- 11 7月, 2011 1 次提交
-
-
由 Hrvoje Šimić 提交于
-