Methods
- P
- S
- T
Instance Public methods
post()
Link
project()
Link
setup()
Link
# File actionpack/test/controller/test_case_test.rb, line 931 def setup @controller = Class.new(ActionController::Base) do def post render :text => request.fullpath end def project render :text => request.fullpath end end.new @routes = ActionDispatch::Routing::RouteSet.new.tap do |r| r.draw do get '/posts/:id', :to => 'anonymous#post', :bucket_type => 'post' get '/projects/:id', :to => 'anonymous#project', :defaults => { :bucket_type => 'project' } end end end
test_route_default_is_not_required_for_building_request_uri()
Link