kostasnw

_admin_bar.haml

Jun 5th, 2012
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 0.51 KB | None | 0 0
  1. #admin_nav
  2.   %h2
  3.     = t('.pages')
  4.     %ul
  5.       %li= link_to t('.user_search'), user_search_path
  6.       %li= link_to t('.weekly_user_stats'), weekly_user_stats_path
  7.       %li= link_to t('.pod_stats'), pod_stats_path
  8.       %li= link_to t('.correlations'), correlations_path
  9.       %li= link_to t('.rails_admin'), rails_admin_path unless !Rails.env.production? #added to avoid exception in development environment
  10.       - if AppConfig[:mount_resque_web]
  11.         %li= link_to t('.resque_overview'), resque_web_path
Advertisement
Add Comment
Please, Sign In to add comment