-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Description
I've setup my routes file as you have in the README example (with the exception of changing the mount location--see below), but when I try to visit that, I get the error
undefined method `source' for "GET":String
My mount line (set in routes.rb) is:
mount ApiTaster::Engine => "/console" if Rails.env.development?
Trace shows:
api_taster (0.5.0) lib/api_taster/route.rb:48:in `block in normalise_routes!'
api_taster (0.5.0) lib/api_taster/route.rb:37:in `each'
api_taster (0.5.0) lib/api_taster/route.rb:37:in `normalise_routes!'
api_taster (0.5.0) lib/api_taster/route.rb:20:in `map_routes'
api_taster (0.5.0) app/controllers/api_taster/routes_controller.rb:28:in `map_routes'
Metadata
Metadata
Assignees
Labels
No labels