Sha256: 030e2fba945ad1273f294111b4dead0daf721d2ac3e5876c8615e72586a2724d

Contents?: true

Size: 502 Bytes

Versions: 3

Compression:

Stored size: 502 Bytes

Contents

require "chaplinks/library/timeline/view_helpers"

module Chaplinks
  module Library
    module Timeline
      class Railtie < Rails::Railtie
        initializer "placehold.view_helpers" do |app|
          ActionView::Base.send :include, ViewHelpers
        end
        initializer "assets.precompile" do |app|
          app.config.assets.precompile += %w( chaplinks-library/timeline chaplinks-library/timeline/index.js chaplinks-library/timeline/timeline.css )
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chaplinks-library-timeline-2.9.0 lib/chaplinks/library/timeline/railtie.rb
chaplinks-library-timeline-2.5.5 lib/chaplinks/library/timeline/railtie.rb
chaplinks-library-timeline-2.5.2 lib/chaplinks/library/timeline/railtie.rb