0
0
Fork 0

Bump active_model_serializers from 0.10.9 to 0.10.10 (#11311)

* Bump active_model_serializers from 0.10.9 to 0.10.10

Bumps [active_model_serializers](https://github.com/rails-api/active_model_serializers) from 0.10.9 to 0.10.10.
- [Release notes](https://github.com/rails-api/active_model_serializers/releases)
- [Changelog](https://github.com/rails-api/active_model_serializers/blob/v0.10.10/CHANGELOG.md)
- [Commits](https://github.com/rails-api/active_model_serializers/compare/v0.10.9...v0.10.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Add root option to render method
This commit is contained in:
dependabot-preview[bot] 2019-07-23 11:10:42 +02:00 committed by Eugen Rochko
parent cd68714393
commit 1955aa9f7d
4 changed files with 7 additions and 7 deletions

View file

@ -5,6 +5,6 @@ class ManifestsController < ApplicationController
def show
expires_in 3.minutes, public: true
render json: InstancePresenter.new, serializer: ManifestSerializer
render json: InstancePresenter.new, serializer: ManifestSerializer, root: 'instance'
end
end