Sha256: f26870f2dea7bba488a9ee8c3e440f1441b7eaa0d8d64f3f89b7058397658a70

Contents?: true

Size: 458 Bytes

Versions: 16

Compression:

Stored size: 458 Bytes

Contents

module MixRailsWriter
  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   = :news
              submenu.title = I18n.t 'news.news'
              submenu.url   = 'admix_news_index_url'
            end
          end
        end
      end
    end

  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

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