diff --git a/app/views/layouts/_admin_sidebar.html.haml b/app/views/layouts/_admin_sidebar.html.haml index 78523bc7..83d06788 100644 --- a/app/views/layouts/_admin_sidebar.html.haml +++ b/app/views/layouts/_admin_sidebar.html.haml @@ -121,6 +121,10 @@ = link_to admin_conference_booths_path(@conference.short_title) do %span.fa.fa-shopping-bag = (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 %li{class: active_nav_li(admin_conference_emails_path(@conference.short_title))} = link_to(admin_conference_emails_path(@conference.short_title)) do diff --git a/config/routes.rb b/config/routes.rb index 57bfa630..b93f5dc7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -95,6 +95,7 @@ Osem::Application.routes.draw do end end resources :event_types + resources :booth_types resources :difficulty_levels post 'mass_upload_commercials' => 'commercials#mass_upload' resources :events do