lib/generators/happy_seed/api/templates/config/initializers/apitome.rb in happy_seed-0.0.19 vs lib/generators/happy_seed/api/templates/config/initializers/apitome.rb in happy_seed-0.0.21
- old
+ new
@@ -1,9 +1,9 @@
Apitome.setup do |config|
# This determines where the Apitome routes will be mounted. Changing this to '/api/documentation' for instance would
# allow you to browse to http://localhost:3000/api/documentation to see your api documentation. Set to nil and mount
# it yourself if you need to.
- config.mount_at = '/api/docs'
+ config.mount_at = '/docs/api'
# This defaults to Rails.root if left nil. If you're providing documentation for an engine using a dummy application
# it can be useful to set this to your engines root.. E.g. Application::Engine.root
config.root = nil
\ No newline at end of file