Sha256: c45dfebe07381e234f83f4239669d90d7035ba5c8d3c41cd07c6ef068f8a599c

Contents?: true

Size: 407 Bytes

Versions: 8

Compression:

Stored size: 407 Bytes

Contents

require "rails"
module HydraHead
  class Engine < Rails::Engine
    # Config defaults
    config.mount_at = '/'

    config.autoload_paths += %W(
      #{config.root}/app/controllers/concerns
    )
    
    # Load rake tasks
    rake_tasks do
      Dir.glob(File.join(File.expand_path('../', File.dirname(__FILE__)),'railties', '*.rake')).each do |railtie|
        load railtie
      end
    end
  end 
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hydra-core-6.5.2 lib/hydra-head/engine.rb
hydra-core-6.5.1 lib/hydra-head/engine.rb
hydra-core-6.4.2 lib/hydra-head/engine.rb
hydra-core-6.5.0 lib/hydra-head/engine.rb
hydra-core-6.5.0.rc2 lib/hydra-head/engine.rb
hydra-core-6.4.1 lib/hydra-head/engine.rb
hydra-core-6.4.0 lib/hydra-head/engine.rb
hydra-core-6.4.0.rc5 lib/hydra-head/engine.rb