Merge pull request #3160 from consul/backport-1784-consistency_remove_semicolon_from_controllers

[Backport] Remove semicolons from controllers
This commit is contained in:
Julian Nicolas Herrero
2019-01-09 17:46:32 +01:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -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)

View File

@@ -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