Moderation view added
This commit is contained in:
parent
f12f61b23c
commit
b32f26a1b8
3 changed files with 23 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue