Sha256: 94815754d14e7ecf6c8d945588f7f18fb35044d6b983aa5c7b1f58725398b71e

Contents?: true

Size: 487 Bytes

Versions: 2

Compression:

Stored size: 487 Bytes

Contents

module MessageBoard
  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   = :message_board
              submenu.title = I18n.t 'message_board.message_board'
              submenu.url   = 'admix_board_messages_url'
            end
          end
        end
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mix-rails-0.7.0 message-board/lib/message-board/engine.rb
mix-rails-0.6.0 message-board/lib/message-board/engine.rb