Sha256: 70502b66245491e393045e4e44f2f9f51988d9fe3a9b06f5d939f6d209cf275a

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

Alberich.user_class = "User"
Alberich.groups_for_user_method = "all_groups"
Alberich.user_group_class = "UserGroup"
Alberich.permissioned_object_classes = []
Alberich.additional_privilege_scopes = []

Alberich.require_user_method = "require_user"

ActiveSupport.on_load(:action_controller) do
  ActionController::Base.send(:include, Alberich::ApplicationControllerHelper)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alberich-0.2.0 lib/generators/alberich/templates/alberich.rb