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