diff options
Diffstat (limited to 'app/controllers/api/v1/mutes_controller.rb')
-rw-r--r-- | app/controllers/api/v1/mutes_controller.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/api/v1/mutes_controller.rb b/app/controllers/api/v1/mutes_controller.rb index 3b3a39943..fd40e54e8 100644 --- a/app/controllers/api/v1/mutes_controller.rb +++ b/app/controllers/api/v1/mutes_controller.rb @@ -9,13 +9,13 @@ class Api::V1::MutesController < Api::BaseController def index @data = @accounts = load_accounts - render json: @accounts, each_serializer: REST::AccountSerializer + render json: @accounts, each_serializer: REST::AccountSerializer, monsterfork_api: monsterfork_api end def details @data = @mutes = load_mutes - render json: @mutes, each_serializer: REST::MuteSerializer - end + render json: @mutes, each_serializer: REST::MuteSerializer, monsterfork_api: monsterfork_api + end private |