Sha256: 08b0ef08548f5758deccc1bb757c2176d97d1a807b79da6ee4805af73fc445a8
Contents?: true
Size: 1.5 KB
Versions: 17
Compression:
Stored size: 1.5 KB
Contents
module PgEngine class Navigator # rubocop:disable Metrics/MethodLength def configure(navbar) # ***************************************************** navbar.add_item('sidebar.signed_in', { name: 'Inicio', path: 'tenant_root_path', priority: 0 }) # ***************************************************** return unless Current.namespace == :admin navbar.add_item('sidebar.signed_in', { name: 'Eventos', path: 'admin_simple_user_notifiers_path' }) navbar.add_item('sidebar.signed_in', { name: 'Emails', path: 'admin_emails_path' }) navbar.add_item('sidebar.signed_in', { name: 'Email logs', path: 'admin_email_logs_path' }) navbar.add_item('sidebar.signed_in', { name: 'Users', path: 'admin_users_path' }) navbar.add_item('sidebar.signed_in', { name: 'Accounts', path: 'admin_accounts_path' }) navbar.add_item('sidebar.signed_in', { name: 'User Accounts', path: 'admin_user_accounts_path' }) end # rubocop:enable Metrics/MethodLength end end
Version data entries
17 entries across 17 versions & 1 rubygems