mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-05-30 00:11:31 +00:00
Fixed formatting and ruby hash syntax
This commit is contained in:
parent
8836bc49f2
commit
fbd6ad4ac6
42 changed files with 170 additions and 166 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue