Sha256: c5760d01dcb3307ba1f7d16c3d08de45b4ba4a18fe80d10c91a19680834c5287

Contents?: true

Size: 625 Bytes

Versions: 7

Compression:

Stored size: 625 Bytes

Contents

module Tandem
  class Engine < Rails::Engine
    isolate_namespace Tandem
    
    config.generators do |g|
      g.test_framework :rspec, :fixture => true
      g.fixture_replacement :factory_girl, :dir => "spec/factories"
      g.template_engine :slim
    end

    config.eager_load_paths << File.expand_path("../../../app/models/tandem/content", __FILE__)

    initializer "tandem.include_page_helpers" do |app|
      ActiveSupport.on_load(:action_controller) do
        helper ::Tandem::PagesHelper
      end

      ActiveSupport.on_load(:action_view) do
        include ::Tandem::PagesHelper
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tandem-0.2.5 lib/tandem/engine.rb
tandem-0.2.4 lib/tandem/engine.rb
tandem-0.2.3 lib/tandem/engine.rb
tandem-0.2.2 lib/tandem/engine.rb
tandem-0.2.1 lib/tandem/engine.rb
tandem-0.2.0 lib/tandem/engine.rb
tandem-0.2.0.rc lib/tandem/engine.rb