module MixRailsAlbums class Engine < ::Rails::Engine config.generators do |g| g.test_framework :rspec g.integration_tool :rspec end initializer "mix-rails-albums.setup_menu", after: "admix.setup_menu" do ActiveMenu::get('admix-nav') do |nav| nav.get(:content) do |content| content.child :albums do |albums| albums.text Proc.new {t('albums.albums')} albums.href Proc.new {admix_albums_url} end end end end end end