1. 29 9月, 2010 2 次提交
  2. 27 9月, 2010 3 次提交
  3. 26 9月, 2010 1 次提交
  4. 25 9月, 2010 1 次提交
  5. 24 9月, 2010 1 次提交
  6. 20 9月, 2010 1 次提交
  7. 19 9月, 2010 2 次提交
  8. 14 9月, 2010 1 次提交
  9. 12 9月, 2010 1 次提交
    • C
      added block arguments to ActionController::Metal#use · 96650f70
      Collin Miller 提交于
      Useful for cases such as warden, where a block configuration is taken.
      
          class SomeController < ApplicationController
            use RailsWarden::Manager do |manager|
              manager.default_strategies :facebook_oauth
              manager.failure_app = SomeController.action(:authorize)
            end
          end
      96650f70
  10. 11 9月, 2010 1 次提交
  11. 06 9月, 2010 3 次提交
  12. 05 9月, 2010 16 次提交
  13. 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
  14. 03 9月, 2010 1 次提交
  15. 02 9月, 2010 1 次提交
  16. 30 8月, 2010 1 次提交
  17. 29 8月, 2010 1 次提交
  18. 27 8月, 2010 1 次提交