Sha256: 1241544527c61200a3b088d74d8bc467bedd33aa5c637bee383a0029496c9087

Contents?: true

Size: 789 Bytes

Versions: 1

Compression:

Stored size: 789 Bytes

Contents

module ActiveTracker
  class Engine < ::Rails::Engine
    isolate_namespace ActiveTracker
    config.autoload_paths += Dir["#{config.root}/lib/**/"]

    initializer 'active_tracker_helper.action_controller' do
      ActiveSupport.on_load :action_controller do
        helper ActiveTracker::ImagesHelper
        helper ActiveTracker::ApplicationHelper
        helper ActiveTracker::PaginationHelper
        helper ActiveTracker::OutputHelper
      end
    end

    config.generators do |g|
      g.test_framework :rspec, fixture: false
      g.fixture_replacement :factory_girl, dir: 'spec/factories'
      g.assets false
      g.helper false
    end

    config.assets.precompile += %w(active_tracker_manifest active_tracker/active_tracker.js active_tracker/active_tracker.css)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activetracker-0.4.0 lib/active_tracker/engine.rb