Methods
- D
- H
- M
- R
- S
Instance Public methods
Source: show
# File rails/actionpack/test/controller/redirect_test.rb, line 12 def host_redirect redirect_to :action => "other_host", :only_path => false, :host => 'other.test.host' end
Source: show
# File rails/actionpack/test/controller/redirect_test.rb, line 8 def method_redirect redirect_to :dashbord_url, 1, "hello" end
Source: show
# File rails/actionpack/test/controller/redirect_test.rb, line 16 def module_redirect redirect_to :controller => 'module_test/module_redirect', :action => "hello_world" end
Source: show
# File rails/actionpack/test/controller/redirect_test.rb, line 25 def redirect_to_back redirect_to :back end
Source: show
# File rails/actionpack/test/controller/redirect_test.rb, line 20 def redirect_with_assigns @hello = "world" redirect_to :action => "hello_world" end
Source: show
# File rails/actionpack/test/controller/redirect_test.rb, line 31 def rescue_action(e) raise end
Source: show
# File rails/actionpack/test/controller/redirect_test.rb, line 29 def rescue_errors(e) raise e end
Source: show
# File rails/actionpack/test/controller/redirect_test.rb, line 4 def simple_redirect redirect_to :action => "hello_world" end
Instance Protected methods
Source: show
# File rails/actionpack/test/controller/redirect_test.rb, line 34 def dashbord_url(id, message) url_for :action => "dashboard", :params => { "id" => id, "message" => message } end