Skip to content

Commit

Permalink
stringify values for ActiveAdmin authorization_adapter in in initiali…
Browse files Browse the repository at this point in the history
…zers
  • Loading branch information
PhilipDeFraties committed Dec 19, 2024
1 parent 79e1d1b commit d95e8f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/initializers/active_admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
# method in a before filter of all controller actions to
# ensure that there is a user with proper rights. You can use
# CanCanAdapter or make your own. Please refer to documentation.
config.authorization_adapter = AdminAuthAdapter
config.authorization_adapter = 'AdminAuthAdapter'

# In case you prefer Pundit over other solutions you can here pass
# the name of default policy class. This policy will be used in every
Expand Down Expand Up @@ -311,7 +311,7 @@
#
# config.order_clause = MyOrderClause
config.namespace :editor do |editor|
editor.authorization_adapter = EditorAuthAdapter
editor.authorization_adapter = 'EditorAuthAdapter'
editor.site_title = "Community Editor Portal"
editor.root_to = 'pages#index'
editor.comments_menu = false
Expand Down

0 comments on commit d95e8f4

Please sign in to comment.