Sha256: aa3a0d47be8ce3954cd28133ee4c5706f06c526314ece55753a71808b69a7723

Contents?: true

Size: 446 Bytes

Versions: 5

Compression:

Stored size: 446 Bytes

Contents

module Auth
  class Engine < ::Rails::Engine
    
    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

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mix-auth-0.4.0 lib/auth/engine.rb
mix-auth-0.3.4 lib/auth/engine.rb
mix-auth-0.3.3 lib/auth/engine.rb
mix-auth-0.3.2 lib/auth/engine.rb
mix-auth-0.3.1 lib/auth/engine.rb