Fixed formatting and ruby hash syntax

This commit is contained in:
Callum Barratt 2014-03-31 22:33:16 +01:00
parent 8836bc49f2
commit fbd6ad4ac6
42 changed files with 170 additions and 166 deletions

View file

@ -1,5 +1,5 @@
class BracketsController < ApplicationController
before_filter :get_bracket, :only => [:show, :edit, :update, :destroy]
before_filter :get_bracket, only: [:show, :edit, :update, :destroy]
def edit
raise AccessError unless @bracket.can_update? cuser
@ -23,7 +23,7 @@ class BracketsController < ApplicationController
flash[:notice] = t(:brackets_update)
end
render :action => "edit"
render :edit
end
def destroy