Class: MixRailsSongs::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- MixRailsSongs::Engine
- Defined in:
- lib/mix-rails-songs/engine.rb
Instance Method Summary collapse
Instance Method Details
#navigation ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/mix-rails-songs/engine.rb', line 9 def if defined? Admix Admix::Navigation::NavBar. do Admix::Navigation::NavBar.find(:content) do || . do || .key = :songs .title = I18n.t 'songs.songs' .url = 'admix_songs_url' end end end end end |