Add route and sidebar entry for booth type
This commit is contained in:
parent
7dd9780c84
commit
3c5703cdc6
2 changed files with 5 additions and 0 deletions
|
|
@ -121,6 +121,10 @@
|
||||||
= link_to admin_conference_booths_path(@conference.short_title) do
|
= link_to admin_conference_booths_path(@conference.short_title) do
|
||||||
%span.fa.fa-shopping-bag
|
%span.fa.fa-shopping-bag
|
||||||
= (t'booth').pluralize.capitalize
|
= (t'booth').pluralize.capitalize
|
||||||
|
%ul
|
||||||
|
- if can? :update, @conference.program.booth_types.build
|
||||||
|
%li{class: active_nav_li(admin_conference_program_booth_types_path(@conference))}
|
||||||
|
= link_to "#{(t'booth').pluralize.capitalize} Types", admin_conference_program_booth_types_path(@conference.short_title)
|
||||||
- if can? :update, @conference.email_settings
|
- if can? :update, @conference.email_settings
|
||||||
%li{class: active_nav_li(admin_conference_emails_path(@conference.short_title))}
|
%li{class: active_nav_li(admin_conference_emails_path(@conference.short_title))}
|
||||||
= link_to(admin_conference_emails_path(@conference.short_title)) do
|
= link_to(admin_conference_emails_path(@conference.short_title)) do
|
||||||
|
|
|
||||||
|
|
@ -95,6 +95,7 @@ Osem::Application.routes.draw do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
resources :event_types
|
resources :event_types
|
||||||
|
resources :booth_types
|
||||||
resources :difficulty_levels
|
resources :difficulty_levels
|
||||||
post 'mass_upload_commercials' => 'commercials#mass_upload'
|
post 'mass_upload_commercials' => 'commercials#mass_upload'
|
||||||
resources :events do
|
resources :events do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue