Add booths to admin sidebar

This commit is contained in:
nasia 2017-08-11 15:14:22 +03:00 committed by Stella Rouzi
parent 835859e350
commit 834e9d96e4
4 changed files with 15 additions and 1 deletions

View file

@ -116,7 +116,11 @@
- if can? :update, @conference.tickets.build
%li{class: active_nav_li(admin_conference_tickets_path(@conference.short_title)) }
= link_to 'Tickets', admin_conference_tickets_path(@conference.short_title)
- if can? :manage, @conference.booths
%li
= link_to admin_conference_booths_path(@conference.short_title) do
%span.fa.fa-shopping-bag
Booths
- if (can? :manage, @conference.targets.build) || (can? :manage, @conference.campaigns.build)
%li
%a