class ControllerWithBeforeActionAndDefaultUrlOptions
Public Instance Methods
default_url_options()
click to toggle source
# File actionpack/test/controller/default_url_options_with_before_action_test.rb, line 17 def default_url_options { locale: "de" } end
redirect()
click to toggle source
# File actionpack/test/controller/default_url_options_with_before_action_test.rb, line 13 def redirect redirect_to action: "target" end
target()
click to toggle source
# File actionpack/test/controller/default_url_options_with_before_action_test.rb, line 9 def target render plain: "final response" end