Sha256: 6487e01826aa0fdf0fea6b81b92fa41ba75bc84a8d1a2993fca9e8129162a4fe

Contents?: true

Size: 468 Bytes

Versions: 26

Compression:

Stored size: 468 Bytes

Contents

module MixRailsVouchers
  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   = :vouchers
              submenu.title = I18n.t 'vouchers.vouchers'
              submenu.url   = 'admix_vouchers_url'
            end
          end
        end

      end
    end

  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
mix-rails-0.12.1 mix-rails-vouchers/lib/mix-rails-vouchers/engine.rb
mix-rails-vouchers-0.12.1 lib/mix-rails-vouchers/engine.rb
mix-rails-0.10.4 mix-rails-vouchers/lib/mix-rails-vouchers/engine.rb
mix-rails-vouchers-0.10.4 lib/mix-rails-vouchers/engine.rb
mix-rails-0.10.3 mix-rails-vouchers/lib/mix-rails-vouchers/engine.rb
mix-rails-vouchers-0.10.3 lib/mix-rails-vouchers/engine.rb