Fix uninitialized constant selected_event error
This commit is contained in:
parent
f38b755e62
commit
f2af6188a1
2 changed files with 7 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue