fix failing tests
This commit is contained in:
parent
f68fd39095
commit
7d472f2ad5
2 changed files with 2 additions and 2 deletions
|
|
@ -25,5 +25,5 @@
|
||||||
= link_to 'Delete', admin_conference_registration_period_path,
|
= link_to 'Delete', admin_conference_registration_period_path,
|
||||||
method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-danger'
|
method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-danger'
|
||||||
- else
|
- else
|
||||||
- if can? :create, @conference
|
- if can? :create, @conference.build_registration_period
|
||||||
= link_to 'New Registration Period', new_admin_conference_registration_period_path, class: 'btn btn-primary'
|
= link_to 'New Registration Period', new_admin_conference_registration_period_path, class: 'btn btn-primary'
|
||||||
|
|
|
||||||
|
|
@ -90,5 +90,5 @@
|
||||||
- else
|
- else
|
||||||
.row
|
.row
|
||||||
.col-md-12.text-right
|
.col-md-12.text-right
|
||||||
- if can? :create, @conference
|
- if can? :create, @conference.build_splashpage
|
||||||
= link_to 'Create Splashpage', new_admin_conference_splashpage_path, class: 'btn btn-primary'
|
= link_to 'Create Splashpage', new_admin_conference_splashpage_path, class: 'btn btn-primary'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue