Moderation view added

This commit is contained in:
Christoph Haas 2016-04-08 18:26:05 +02:00
parent f12f61b23c
commit b32f26a1b8
3 changed files with 23 additions and 0 deletions

View file

@ -27,6 +27,9 @@ header
a href="/about" About
li.divider
// TODO: Show link for admin/moderation view if admin is logged in
- if user_signed_in?
li class=('active' if controller_name=='packages' and action_name=='moderate')
= link_to 'Moderate', packages_moderate_path
li.has-form
- if user_signed_in?
= link_to "#{current_user.email} (Logout)", destroy_user_session_path, :method => :delete