class DefaultUrlOptionsController
Public Instance Methods
default_url_options()
click to toggle source
# File actionpack/test/controller/base_test.rb, line 33 def default_url_options { host: "www.override.com", action: "new", locale: "en" } end
from_view()
click to toggle source
# File actionpack/test/controller/base_test.rb, line 29 def from_view render inline: "<%= #{params[:route]} %>" end