From 9a60135d9f651058ab2757c53379a62598d064d3 Mon Sep 17 00:00:00 2001 From: Julian Herrero Date: Fri, 28 Dec 2018 11:43:55 +0100 Subject: [PATCH] [Consistency] remove semicolons from controllers --- app/controllers/admin/budget_phases_controller.rb | 3 ++- app/controllers/graphql_controller.rb | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/controllers/admin/budget_phases_controller.rb b/app/controllers/admin/budget_phases_controller.rb index 8b71e5a0d..d0eef18d8 100644 --- a/app/controllers/admin/budget_phases_controller.rb +++ b/app/controllers/admin/budget_phases_controller.rb @@ -2,7 +2,8 @@ class Admin::BudgetPhasesController < Admin::BaseController before_action :load_phase, only: [:edit, :update] - def edit; end + def edit + end def update if @phase.update(budget_phase_params) diff --git a/app/controllers/graphql_controller.rb b/app/controllers/graphql_controller.rb index 5f3fd0a9f..47130bfaf 100644 --- a/app/controllers/graphql_controller.rb +++ b/app/controllers/graphql_controller.rb @@ -3,7 +3,8 @@ class GraphqlController < ApplicationController skip_before_action :verify_authenticity_token skip_authorization_check - class QueryStringError < StandardError; end + class QueryStringError < StandardError + end def query begin