mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-25 12:01:03 +00:00
Fixing bug in match proposals, that prevents admins from checking them
This commit is contained in:
parent
357bbb846b
commit
7baac43cbb
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
class MatchProposalsController < ApplicationController
|
||||
before_filter :get_match
|
||||
def index
|
||||
raise AccessError unless @match.user_in_match?(cuser)
|
||||
raise AccessError unless cuser.admin? || @match.user_in_match?(cuser)
|
||||
end
|
||||
|
||||
def new
|
||||
|
|
Loading…
Reference in a new issue