Open seanhandley opened 7 years ago
rake routes
Routes for Harbour::Engine:
apipie_apipie_checksum GET /docs/apipie_checksum(.:format) harbour/apipie/apipies#apipie_checksum {:format=>/json/}
apipie_apipie GET /docs(/:version)(/:resource)(/:method)(.:format) harbour/apipie/apipies#index {:version=>/[^\/]+/, :resource=>/[^\/]+/, :method=>/[^\/]+/}
root GET / redirect(301, /api/docs)
users GET /users(.:format) harbour/v1/users#index
POST /users(.:format) harbour/v1/users#create
new_user GET /users/new(.:format) harbour/v1/users#new
edit_user GET /users/:id/edit(.:format) harbour/v1/users#edit
user GET /users/:id(.:format) harbour/v1/users#show
PATCH /users/:id(.:format) harbour/v1/users#update
PUT /users/:id(.:format) harbour/v1/users#update
DELETE /users/:id(.:format) harbour/v1/users#destroy
I've got Apipie set up inside a Rails engine which I'm then including into a Rails 5 app and mounting in the routes.
The controllers in my engine are working correctly because I'm getting results from them when I make requests. I can even define
render text: Apipie.configuration.inspect
and get a plaintext representation of my Apipie config.The error is being raised from
static_dispatcher.rb
line 65 (version 0.3.7):uninitialized constant Harbour::Apipie
when I try to load/api/docs
.Any ideas?