Sha256: e0656bfb39ea28e075c5880342d4553ab1d78c879c35ff73360d6716a0790386

Contents?: true

Size: 450 Bytes

Versions: 3

Compression:

Stored size: 450 Bytes

Contents

module Writer
  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

3 entries across 3 versions & 1 rubygems

Version Path
mix-rails-0.7.0 writer/lib/writer/engine.rb
mix-rails-0.6.0 writer/lib/writer/engine.rb
mix-rails-0.5.0 writer/lib/writer/engine.rb