Create view for splash page from existing routes

This commit is contained in:
Gopesh Tulsyan 2014-05-19 21:21:06 +05:30
parent e11ad83b32
commit 7a5f47257a
8 changed files with 39 additions and 1 deletions

View file

@ -20,6 +20,8 @@
= simple_format(conference.venue.description, class: 'lead')
.col-md-2
.btn-group-vertical
- if !@conference || @conference != conference
= link_to "View Conference", conference_path(conference.short_title), :class =>"btn btn-default"
- if conference.registration_open?
- if conference.user_registered?(current_user)
= link_to "Modify Registration", register_conference_path(conference.short_title), :class =>"btn btn-default"