Methods
Class Public methods
call(env)
Link
routes()
Link
# File actionpack/test/dispatch/prefix_generation_test.rb, line 47 def self.routes @routes ||= begin routes = ActionDispatch::Routing::RouteSet.new routes.draw do scope "/:omg", :omg => "awesome" do mount BlogEngine => "/blog", :as => "blog_engine" end match "/posts/:id", :to => "outside_engine_generating#post", :as => :post match "/generate", :to => "outside_engine_generating#index" match "/polymorphic_path_for_app", :to => "outside_engine_generating#polymorphic_path_for_app" match "/polymorphic_path_for_engine", :to => "outside_engine_generating#polymorphic_path_for_engine" match "/polymorphic_with_url_for", :to => "outside_engine_generating#polymorphic_with_url_for" match "/conflicting_url", :to => "outside_engine_generating#conflicting" root :to => "outside_engine_generating#index" end routes end end