Sha256: ab3c65710b2ffd7b32430ed69ec31a8d0cce46bc2d9e0494d7964df074b6f24c

Contents?: true

Size: 396 Bytes

Versions: 2

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

require 'cancan'
module Hydra
  module RoleManagement
    # Class definition for the Rails Engine
    class Engine < ::Rails::Engine
      engine_name 'role_management'

      # Rails 4 should do this automatically:
      config.paths.add 'app/controllers/concerns', eager_load: true
      config.paths.add 'app/models/concerns', eager_load: true
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hydra-role-management-1.1.0 lib/hydra/role_management.rb
hydra-role-management-1.0.3 lib/hydra/role_management.rb