1. 02 5月, 2012 1 次提交
  2. 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
  3. 04 3月, 2012 1 次提交
  4. 02 3月, 2012 1 次提交
  5. 26 2月, 2012 1 次提交
  6. 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
  7. 15 2月, 2012 1 次提交
  8. 12 2月, 2012 1 次提交
  9. 24 1月, 2012 2 次提交
  10. 17 1月, 2012 1 次提交
  11. 06 1月, 2012 1 次提交
  12. 25 12月, 2011 1 次提交
  13. 23 12月, 2011 2 次提交
  14. 22 12月, 2011 1 次提交
  15. 23 12月, 2011 2 次提交
  16. 22 12月, 2011 1 次提交
  17. 20 12月, 2011 1 次提交
  18. 05 12月, 2011 1 次提交
  19. 30 11月, 2011 1 次提交
  20. 28 11月, 2011 1 次提交
  21. 14 8月, 2011 1 次提交
  22. 13 8月, 2011 1 次提交
  23. 01 8月, 2011 1 次提交
  24. 03 5月, 2011 1 次提交
  25. 05 3月, 2011 1 次提交
  26. 04 3月, 2011 1 次提交
  27. 08 2月, 2011 1 次提交
  28. 30 11月, 2010 1 次提交
    • J
      The redirect routing method now allows for a hash of options which only... · 0bda6f1e
      Josh Kalderimis 提交于
      The redirect routing method now allows for a hash of options which only changes the relevant parts of the url, or an object which responds to call can be supplied so common redirect rules can be easily reused. This commit includes a change where url generation from parts has been moved to AD::Http::URL as a class method.
      0bda6f1e
  29. 19 11月, 2010 1 次提交
  30. 17 11月, 2010 1 次提交
  31. 26 9月, 2010 1 次提交
  32. 05 9月, 2010 6 次提交