changes from comments, fix commercials failing test

This commit is contained in:
Stella Rouzi 2014-08-13 22:46:41 +03:00
parent d794593e10
commit beb88b848d
15 changed files with 58 additions and 77 deletions

View file

@ -4,7 +4,7 @@ module Admin
load_and_authorize_resource :campaign, through: :conference
def index
authorize! :show, Campaign.new(conference_id: @conference.id)
authorize! :index, Campaign.new(conference_id: @conference.id)
@campaigns = @conference.campaigns
end