class InsideEngineGeneratingController

Public Instance Methods

conflicting() click to toggle source
# File actionpack/test/dispatch/prefix_generation_test.rb, line 94
def conflicting
  render plain: "engine"
end
index() click to toggle source
# File actionpack/test/dispatch/prefix_generation_test.rb, line 75
def index
  render plain: posts_path
end
polymorphic_path_for_engine() click to toggle source
# File actionpack/test/dispatch/prefix_generation_test.rb, line 90
def polymorphic_path_for_engine
  render plain: polymorphic_path(Post.new)
end
show() click to toggle source
# File actionpack/test/dispatch/prefix_generation_test.rb, line 79
def show
  render plain: post_path(id: params[:id])
end
url_to_application() click to toggle source
# File actionpack/test/dispatch/prefix_generation_test.rb, line 83
def url_to_application
  path = main_app.url_for(controller: "outside_engine_generating",
                          action: "index",
                          only_path: true)
  render plain: path
end