Sha256: fe33464696a4dc5be8c5ea34d2bce737ad50351cc6350e06501055d8269fe9d0

Contents?: true

Size: 579 Bytes

Versions: 12

Compression:

Stored size: 579 Bytes

Contents

module MixRailsWriter
  class Engine < ::Rails::Engine
    
    config.generators do |g|                                                               
      g.test_framework :rspec
      g.integration_tool :rspec
    end

    initializer "mix-rails-writer.setup_menu", after: "admix.setup_menu" do
      ActiveMenu::get('admix-nav') do |nav|
        nav.get(:content) do |content|
          content.child :news do |news|
            news.text Proc.new {t('news.news')}
            news.href Proc.new {admix_news_index_url}
          end
        end
      end
    end

  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
mix-rails-0.26.1 mix-rails-writer/lib/mix-rails-writer/engine.rb
mix-rails-writer-0.26.1 lib/mix-rails-writer/engine.rb
mix-rails-0.26.0 mix-rails-writer/lib/mix-rails-writer/engine.rb
mix-rails-writer-0.26.0 lib/mix-rails-writer/engine.rb
mix-rails-0.25.1 mix-rails-writer/lib/mix-rails-writer/engine.rb
mix-rails-writer-0.25.1 lib/mix-rails-writer/engine.rb
mix-rails-0.25.0 mix-rails-writer/lib/mix-rails-writer/engine.rb
mix-rails-writer-0.25.0 lib/mix-rails-writer/engine.rb
mix-rails-0.24.1 mix-rails-writer/lib/mix-rails-writer/engine.rb
mix-rails-writer-0.24.1 lib/mix-rails-writer/engine.rb
mix-rails-0.24.0 mix-rails-writer/lib/mix-rails-writer/engine.rb
mix-rails-writer-0.24.0 lib/mix-rails-writer/engine.rb