Sha256: 637aa137280cf18e55f385238f88308aad8b9c8e448af907e5093b8b6d8dd8d6

Contents?: true

Size: 305 Bytes

Versions: 9

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

module EacRailsBase0
  class AbilityMapping
    include CanCanDry::AbilityMapping
    include CanCanDry::AbilityMappingSets::Devise

    def initialize
      map_devise
      map_controller 'EacUsersSupport::Admin::Users', :manage, ::EacUsersSupport::User
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
eac_rails_base0-0.6.0 lib/eac_rails_base0/ability_mapping.rb
eac_rails_base0-0.5.0 lib/eac_rails_base0/ability_mapping.rb
eac_rails_base0-0.4.0 lib/eac_rails_base0/ability_mapping.rb
eac_rails_base0-0.3.1 lib/eac_rails_base0/ability_mapping.rb
eac_rails_base0-0.3.0 lib/eac_rails_base0/ability_mapping.rb
eac_rails_base0-0.2.2 lib/eac_rails_base0/ability_mapping.rb
eac_rails_base0-0.2.1 lib/eac_rails_base0/ability_mapping.rb
eac_rails_base0-0.2.0 lib/eac_rails_base0/ability_mapping.rb
eac_rails_base0-0.1.0 lib/eac_rails_base0/ability_mapping.rb