SchedulesController introduced

The actions #schedule and #events were moved from conference controller to the new controller
This commit is contained in:
Ana 2016-07-29 22:02:01 +02:00
parent b037a5eb7c
commit 71dab6b79c
18 changed files with 87 additions and 69 deletions

View file

@ -13,7 +13,7 @@
- if can? :edit, @event
= link_to "Edit", edit_conference_program_proposal_path(@conference.short_title, @event), :class => "btn btn-mini btn-primary"
- if can? :schedule, @conference
= link_to "Schedule", schedule_conference_path(@conference.short_title), :class =>"btn btn-success"
= link_to "Schedule", conference_schedule_path(@conference.short_title), :class =>"btn btn-success"
- if @event.state == 'canceled' || @event.state == 'withdrawn'
%span.label.label-danger CANCELED