class OutsideEngineGeneratingController

Public Instance Methods

conflicting() click to toggle source
# File actionpack/test/dispatch/prefix_generation_test.rb, line 119
def conflicting
  render plain: "application"
end
index() click to toggle source
# File actionpack/test/dispatch/prefix_generation_test.rb, line 103
def index
  render plain: blog_engine.post_path(id: 1)
end
ivar_usage() click to toggle source
# File actionpack/test/dispatch/prefix_generation_test.rb, line 123
def ivar_usage
  @blog_engine = "Not the engine route helper"
  render plain: blog_engine.post_path(id: 1)
end
polymorphic_path_for_app() click to toggle source
# File actionpack/test/dispatch/prefix_generation_test.rb, line 111
def polymorphic_path_for_app
  render plain: polymorphic_path(Post.new)
end
polymorphic_path_for_engine() click to toggle source
# File actionpack/test/dispatch/prefix_generation_test.rb, line 107
def polymorphic_path_for_engine
  render plain: blog_engine.polymorphic_path(Post.new)
end
polymorphic_with_url_for() click to toggle source
# File actionpack/test/dispatch/prefix_generation_test.rb, line 115
def polymorphic_with_url_for
  render plain: blog_engine.url_for(Post.new)
end