Make rails_admin use the default ApplicationController
This commit is contained in:
parent
c76f839ea7
commit
5966be5bd6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue