diff --git a/app/controllers/match_proposals_controller.rb b/app/controllers/match_proposals_controller.rb index 2c345d1..28004a0 100644 --- a/app/controllers/match_proposals_controller.rb +++ b/app/controllers/match_proposals_controller.rb @@ -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