Sha256: 07e294c6f8c3eeff6b8898dff5cfd2e10b0aaef3e63a0eb5f4b80ca7a0e36185

Contents?: true

Size: 762 Bytes

Versions: 1

Compression:

Stored size: 762 Bytes

Contents

# frozen_string_literal: true

require 'comfortable_media_surfer'
require 'rails'
require 'rails-i18n'
require 'comfy_bootstrap_form'
require 'active_link_to'
require 'kramdown'
require 'jquery-rails'
require 'haml-rails'
require 'sassc-rails'

module ComfortableMediaSurfer
  class Engine < ::Rails::Engine
    initializer 'comfortable_media_surfer.setup_assets' do
      ::ComfortableMediaSurfer::Engine.config.assets.precompile += %w[
        comfy/admin/cms/application.js
        comfy/admin/cms/application.css
        comfy/admin/cms/lib/redactor-font.eot
      ]
    end

    config.to_prepare do
      Dir.glob("#{Rails.root}app/decorators/comfortable_media_surfer/*_decorator*.rb").each do |c|
        require_dependency(c)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comfortable_media_surfer-3.0.0 lib/comfortable_media_surfer/engine.rb