Add booths to admin sidebar
This commit is contained in:
parent
835859e350
commit
834e9d96e4
4 changed files with 15 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue