summaryrefslogtreecommitdiff
path: root/app/controllers/groups/variables_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/groups/variables_controller.rb')
-rw-r--r--app/controllers/groups/variables_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/groups/variables_controller.rb b/app/controllers/groups/variables_controller.rb
index 4f641de0357..35c760f10c8 100644
--- a/app/controllers/groups/variables_controller.rb
+++ b/app/controllers/groups/variables_controller.rb
@@ -9,7 +9,7 @@ module Groups
def show
respond_to do |format|
format.json do
- render status: :ok, json: { variables: GroupVariableSerializer.new.represent(@group.variables) }
+ render status: :ok, json: {variables: GroupVariableSerializer.new.represent(@group.variables)}
end
end
end
@@ -29,7 +29,7 @@ module Groups
private
def render_group_variables
- render status: :ok, json: { variables: GroupVariableSerializer.new.represent(@group.variables) }
+ render status: :ok, json: {variables: GroupVariableSerializer.new.represent(@group.variables)}
end
def render_error