Removing redundant curly braces

This commit is contained in:
Hugo Daniel
2018-04-13 11:58:13 +02:00
committed by Pau Perez
parent abe5d3596c
commit d9f451b6fe
18 changed files with 26 additions and 26 deletions

View File

@@ -37,7 +37,7 @@ class BaseController < ApplicationController
# And default to the only order cycle if there's only the one
if @order_cycles.count == 1
current_order({ create_order_if_necessary: true }).set_order_cycle! @order_cycles.first
current_order( create_order_if_necessary: true ).set_order_cycle! @order_cycles.first
end
end
end