Methods
A
Included Modules
Constants
Routes = ActionDispatch::Routing::RouteSet.new.tap do |app| app.draw do ok = lambda { |env| [200, { 'Content-Type' => 'text/plain' }, []] } get '/foo' => ok, as: :foo ActiveSupport::Deprecation.silence do get '/post(/:action(/:id))' => ok, as: :posts end get '/:foo/:foo_type/bars/:id' => ok, as: :bar get '/projects/:id.:format' => ok, as: :project get '/pages/:id' => ok, as: :page get '/wiki/*page' => ok, as: :wiki end end
 
APP = build_app Routes
 
Instance Public methods
app()
# File actionpack/test/dispatch/routing_test.rb, line 4196
def app; APP end