Sha256: eced4db3c54bfbc18d0d40c11352c333536f38bf6bdb78d961c81521359e2439

Contents?: true

Size: 456 Bytes

Versions: 35

Compression:

Stored size: 456 Bytes

Contents

module MixRailsVideos
  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   = :videos
              submenu.title = I18n.t 'videos.videos'
              submenu.url   = 'admix_videos_url'
            end
          end
        end

      end
    end
  end
end

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
mix-rails-0.22.0 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.22.0 lib/mix-rails-videos/engine.rb
mix-rails-0.16.0 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.16.0 lib/mix-rails-videos/engine.rb
mix-rails-0.15.0 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.15.0 lib/mix-rails-videos/engine.rb
mix-rails-0.12.2 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.12.2 lib/mix-rails-videos/engine.rb
mix-rails-0.12.1 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.12.1 lib/mix-rails-videos/engine.rb
mix-rails-0.10.4 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.10.4 lib/mix-rails-videos/engine.rb
mix-rails-0.10.3 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.10.3 lib/mix-rails-videos/engine.rb
mix-rails-videos-0.10.2 lib/mix-rails-videos/engine.rb