Methods
- P
- S
- T
Instance Public methods
post()
Link
project()
Link
setup()
Link
# File actionpack/test/controller/test_case_test.rb, line 1183 def setup @controller = Class.new(ActionController::Base) do def post render plain: request.fullpath end def project render plain: 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