Skip to content

Commit

Permalink
Fix autoload issues (zeitwerk compatibility)
Browse files Browse the repository at this point in the history
  • Loading branch information
srgpqt committed Apr 5, 2022
1 parent 96431fd commit a5f35b1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Metrics/AbcSize:
Naming/MemoizedInstanceVariableName:
Exclude:
- 'app/models/active_admin/manageable_resource.rb'
- 'app/models/concerns/active_admin_role/role_based_authorizable.rb'
- 'lib/active_admin_role/role_based_authorizable.rb'
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "active_admin_role/role_based_authorizable"

module ActiveAdminRole
module Dsl
def role_based_authorizable
Expand Down
1 change: 1 addition & 0 deletions lib/active_admin_role/engine.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require "rails/engine"
require "active_admin_role/dsl"
require "active_admin_role/active_admin/dsl"

module ActiveAdminRole
Expand Down

0 comments on commit a5f35b1

Please sign in to comment.