[refs #510] Add resque to the admin submenu

This commit is contained in:
konstantin.grabar 2012-06-08 19:02:45 +04:00
parent da33173700
commit 26299c234b
4 changed files with 5 additions and 1 deletions

View File

@ -5,3 +5,5 @@
%li= link_to title, send(:"#{namespace}#{base}_path"), :class => top_menu_class(base)
- if current_user.try(:admin?) and which_menu == 'top_menu'
%li= link_to t('admins_menu_header'), admin_users_path, :class => top_menu_class('admin')
- if current_user.try(:admin?) and which_menu == 'admins_menu'
%li= link_to t('resque_server'), admin_resque_server_path, :class => top_menu_class('admin')

View File

@ -38,3 +38,4 @@ en:
users: Users
register_requests: Invites
event_logs: Event log
resque_server: Resque

View File

@ -38,3 +38,4 @@ ru:
users: Пользователи
register_requests: Инвайты
event_logs: Лог событий
resque_server: Resque