From 5d558b845e3d92059e42fb1013578c167a0575e2 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sat, 11 Jan 2020 03:27:51 -0600 Subject: move parenthesis to correct place --- app/controllers/shares_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit