Sha256: b83843bd255a285f42cdd2b17dd5353e0cda60b0ec8ce4db327f4e10ccd9ee51

Contents?: true

Size: 295 Bytes

Versions: 4

Compression:

Stored size: 295 Bytes

Contents

require 'rails'

module FeatherCms
  module Railtie
    class Railtie < ::Rails::Railtie
      if ::Rails.version.to_f >= 3.1
        config.before_configuration do |app|
          app.config.assets.paths << Rails.root.join("app", "assets", "codemirror")
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
feather_cms-0.0.4 lib/feather_cms/railtie.rb
feather_cms-0.0.3 lib/feather_cms/railtie.rb
feather_cms-0.0.2 lib/feather_cms/railtie.rb
feather_cms-0.0.1 lib/feather_cms/railtie.rb