lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb in gris-0.5.3 vs lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb in gris-0.5.4
- old
+ new
@@ -1,8 +1,9 @@
class ApplicationEndpoint < Grape::API
format :json
formatter :json, Grape::Formatter::Roar
content_type :json, 'application/hal+json'
+ cascade true
desc 'Get the Root API Endpoint'
get do
present self, with: RootPresenter
end