diff options
-rw-r--r-- | app/controllers/shares_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/shares_controller.rb b/app/controllers/shares_controller.rb index 5d7a14949..9625e656a 100644 --- a/app/controllers/shares_controller.rb +++ b/app/controllers/shares_controller.rb @@ -8,7 +8,7 @@ class SharesController < ApplicationController before_action :set_body_classes def show - serializable_resource = ActiveModelSerializers::SerializableResource.new(InitialStatePresenter.new(initial_state_params), serializer: InitialStateSerializer), monsterfork_api: monsterfork_api + serializable_resource = ActiveModelSerializers::SerializableResource.new(InitialStatePresenter.new(initial_state_params), serializer: InitialStateSerializer, monsterfork_api: monsterfork_api) @initial_state_json = serializable_resource.to_json end |