Sha256: 56a33b104035216f627ac174c943e6215fd38b29ac2a4b3c13e2229f9da80f57
Contents?: true
Size: 452 Bytes
Versions: 3
Compression:
Stored size: 452 Bytes
Contents
module Albums class Engine < ::Rails::Engine def navigation if defined? Admix Admix::Navigation::NavBar.post_menu do Admix::Navigation::NavBar.find(:content) do |menu| menu.submenu do |submenu| submenu.key = :albums submenu.title = I18n.t 'albums.albums' submenu.url = 'admix_albums_url' end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mix-rails-0.7.0 | albums/lib/albums/engine.rb |
mix-rails-0.6.0 | albums/lib/albums/engine.rb |
mix-rails-0.5.0 | albums/lib/albums/engine.rb |