Make rails_admin use the default ApplicationController

This commit is contained in:
Andreas Nedbal 2020-05-08 23:28:56 +02:00
parent c76f839ea7
commit 5966be5bd6
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
# workaround to get pagination right
RailsAdmin.config do |config|
config.main_app_name = ['justask', 'Kontrollzentrum']
config.parent_controller = '::ApplicationController'
## == Authentication ==
config.authenticate_with do