Fix uninitialized constant selected_event error

This commit is contained in:
Chaitanya 2017-04-25 21:58:13 +05:30
parent f38b755e62
commit f2af6188a1
2 changed files with 7 additions and 5 deletions

View file

@ -21,7 +21,7 @@
- if !@conference || @conference != conference
- if conference.splashpage && conference.splashpage.public
= link_to "View Conference", conference_path(conference.short_title), class: 'btn btn-default'
- if conference.program and conference.program.schedule_public
- if conference.program and conference.program.selected_event_schedules and conference.program.schedule_public
= link_to "Schedule", conference_schedule_path(conference.short_title), class: 'btn btn-default'
- if conference.registration_open?
- if conference.user_registered?(current_user)