Sha256: 4ca36c82d20d2063378628cabc82b7256b4b97906df308395b510d9b66e09b00

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

require "sufia/version"
require 'blacklight'
require 'blacklight_advanced_search'
require 'blacklight/gallery'
require 'hydra/head'
require 'hydra-batch-edit'
require 'hydra-editor'
require 'browse-everything'
require 'sufia/models'

require 'rails_autolink'
require 'font-awesome-rails'
require 'tinymce-rails'
require 'tinymce-rails-imageupload'

module Sufia
  extend ActiveSupport::Autoload

  class Engine < ::Rails::Engine
    engine_name 'sufia'
    # Breadcrumbs on rails must be required outside of an initializer or it doesn't get loaded.
    require 'breadcrumbs_on_rails'

    config.autoload_paths += %W(
      #{config.root}/app/controllers/concerns
      #{config.root}/app/models/concerns
      #{config.root}/app/models/datastreams
      #{Hydra::Engine.root}/app/models/concerns
    )

    config.assets.paths << config.root.join('vendor', 'assets', 'fonts')
    config.assets.precompile << %r(vjs\.(?:eot|ttf|woff)$)
    config.assets.precompile += %w( fontawesome-webfont.woff )
    config.assets.precompile += %w( fontawesome-webfont.ttf )
    config.assets.precompile += %w( fontawesome-webfont.svg )
    config.assets.precompile += %w( ZeroClipboard.swf )
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sufia-4.0.1 lib/sufia.rb