mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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,
|
||||
method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-danger'
|
||||
- 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'
|
||||
|
|
|
|||
|
|
@ -90,5 +90,5 @@
|
|||
- else
|
||||
.row
|
||||
.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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue