1. 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
  2. 19 11月, 2010 1 次提交
  3. 17 11月, 2010 1 次提交
  4. 26 9月, 2010 1 次提交
  5. 05 9月, 2010 10 次提交
  6. 04 9月, 2010 2 次提交
    • P
      New way of generating urls for Application from Engine. · eedbf87d
      Piotr Sarnacki 提交于
      It's based specifying application's script_name with:
      Rails.application.default_url_options = {:script_name => "/foo"}
      
      default_url_options method is delegated to routes. If router
      used to generate url differs from the router passed via env
      it always overwrites :script_name with this value.
      eedbf87d
    • P
      Use env['action_dispatch.routes'] to determine if we should generate prefix or not. · 28016d33
      Piotr Sarnacki 提交于
      This technique is here to allow using routes from Engine in Application
      and vice versa. When using Engine routes inside Application it should
      generate prefix based on mount point. When using Engine routes inside
      Engine it should use env['SCRIPT_NAME']. In any other case it should
      generate prefix as env should not be even available.
      28016d33
  7. 03 9月, 2010 1 次提交
  8. 02 9月, 2010 1 次提交
  9. 21 8月, 2010 1 次提交
  10. 27 2月, 2010 2 次提交
  11. 26 2月, 2010 1 次提交
  12. 14 1月, 2010 1 次提交
  13. 15 12月, 2009 1 次提交
  14. 11 12月, 2009 2 次提交
  15. 07 12月, 2009 1 次提交
  16. 06 12月, 2009 1 次提交
  17. 03 12月, 2009 1 次提交
  18. 02 12月, 2009 2 次提交
  19. 24 11月, 2009 3 次提交
  20. 20 11月, 2009 1 次提交
  21. 10 11月, 2009 2 次提交
  22. 05 11月, 2009 1 次提交
  23. 28 10月, 2009 1 次提交
  24. 21 10月, 2009 1 次提交