Class: Auth::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/auth/engine.rb

Instance Method Summary collapse

Instance Method Details



4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/auth/engine.rb', line 4

def navigation
  if defined? Admix
    Admix::Navigation::NavBar.post_menu do
      Admix::Navigation::NavBar.find(:general) do |menu|
        menu.submenu do |submenu|
          submenu.key   = :users
          submenu.title = I18n.t 'users.users'
          submenu.url   = 'admix_users_url'
        end
      end
    end
  end
end