Implement simplified commercials workflow

It's now possible to simply enter the url of the third party provider to enter a commercial.
This commit is contained in:
chrisbr 2015-04-22 21:30:32 +02:00
parent e6bb168c5e
commit 58974d6914
26 changed files with 194 additions and 188 deletions

View file

@ -20,6 +20,8 @@ class ProposalController < ApplicationController
def edit
authorize! :edit, @event
@url = conference_proposal_path(@conference.short_title, params[:id])
@commercial = @event.commercials.build
authorize! :new, @commercial
end
def create