changes from comments, fix commercials failing test
This commit is contained in:
parent
d794593e10
commit
beb88b848d
15 changed files with 58 additions and 77 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue