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.26.3 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.26.3 lib/mix-rails-videos/engine.rb
mix-rails-0.26.2 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.26.2 lib/mix-rails-videos/engine.rb
mix-rails-0.26.1 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.26.1 lib/mix-rails-videos/engine.rb
mix-rails-0.26.0 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.26.0 lib/mix-rails-videos/engine.rb
mix-rails-0.25.1 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.25.1 lib/mix-rails-videos/engine.rb
mix-rails-0.25.0 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.25.0 lib/mix-rails-videos/engine.rb
mix-rails-0.24.1 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.24.1 lib/mix-rails-videos/engine.rb
mix-rails-0.24.0 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.24.0 lib/mix-rails-videos/engine.rb
mix-rails-0.23.1 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.23.1 lib/mix-rails-videos/engine.rb
mix-rails-0.23.0 mix-rails-videos/lib/mix-rails-videos/engine.rb
mix-rails-videos-0.23.0 lib/mix-rails-videos/engine.rb