class FilterTest::BeforeActionRedirectionController
Public Instance Methods
show()
click to toggle source
# File actionpack/test/controller/filters_test.rb, line 105 def show @ran_action = true render inline: "ran show action" end
target_of_redirection()
click to toggle source
# File actionpack/test/controller/filters_test.rb, line 110 def target_of_redirection @ran_target_of_redirection = true render inline: "ran target_of_redirection action" end
Private Instance Methods
before_action_redirects()
click to toggle source
# File actionpack/test/controller/filters_test.rb, line 116 def before_action_redirects @ran_filter ||= [] @ran_filter << "before_action_redirects" redirect_to(action: "target_of_redirection") end
unreached_after_action()
click to toggle source
# File actionpack/test/controller/filters_test.rb, line 122 def unreached_after_action @ran_filter << "unreached_after_action_after_redirection" end