Skip to content

Commit

Permalink
Merge pull request activeadmin-plugins#24 from libroreserve/master
Browse files Browse the repository at this point in the history
Fix autoload issues (zeitwerk compatibility)
  • Loading branch information
Fivell authored Sep 6, 2022
2 parents 96431fd + a5f35b1 commit c760985
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 c760985

Please sign in to comment.