button to link to schedule

This commit is contained in:
Stella 2014-05-02 21:40:42 +03:00
parent fdd5b6cb95
commit 1840a858b7

View file

@ -6,6 +6,7 @@
%br
%small
= @event.subtitle
= link_to "Schedule", conference_schedule_path(@conference.short_title), :class =>"btn btn-success pull-right"
- if has_role?(current_user, "admin")
= link_to "Edit", edit_admin_conference_event_path(@conference.short_title, @event), :class => "btn btn-mini btn-primary pull-right"
.row