1. 14 8月, 2012 1 次提交
  2. 29 6月, 2012 1 次提交
    • J
      Revert "Allow loading external route files from the router" · 5e7d6bba
      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
      5e7d6bba
  3. 24 6月, 2012 1 次提交
  4. 15 6月, 2012 1 次提交
  5. 03 6月, 2012 1 次提交
  6. 01 6月, 2012 1 次提交
  7. 30 5月, 2012 2 次提交
  8. 26 5月, 2012 1 次提交
  9. 24 5月, 2012 2 次提交
  10. 22 5月, 2012 1 次提交
  11. 28 4月, 2012 1 次提交
  12. 26 4月, 2012 1 次提交
  13. 25 4月, 2012 1 次提交
    • J
      Remove default match without specified method · 56cdc81c
      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
      56cdc81c
  14. 01 4月, 2012 1 次提交
  15. 29 3月, 2012 1 次提交
  16. 17 3月, 2012 1 次提交
  17. 07 3月, 2012 2 次提交
  18. 06 3月, 2012 1 次提交
  19. 28 2月, 2012 1 次提交
  20. 27 2月, 2012 3 次提交
  21. 25 2月, 2012 2 次提交
  22. 23 2月, 2012 1 次提交
    • D
      Add config.default_method_for_update to support PATCH · 002713c6
      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.
      002713c6
  23. 11 12月, 2011 1 次提交
  24. 31 10月, 2011 1 次提交
  25. 06 10月, 2011 2 次提交
  26. 15 9月, 2011 1 次提交
  27. 14 8月, 2011 1 次提交
  28. 26 7月, 2011 1 次提交
  29. 16 7月, 2011 3 次提交
  30. 15 7月, 2011 1 次提交
  31. 11 7月, 2011 1 次提交