Answer the question
In order to leave comments, you need to log in
How to split ActiveAdmin into two parts?
The first part is a complete admin panel for administrators. Now only she is.
The second part is a stripped down version for editors. Allow editors access only to those sections that are allowed, as well as give the ability to only create and edit.
Added to the ActiveAdmin config:
config.namespace :editor do |namespace|
namespace.authorization_adapter = 'OnlyEditors'
end
Unable to autoload constant Editor::DashboardController, expected /path/to/project/app/controllers/editor/dashboard_controller.rb to define it
module Editor
class DashboardController
# Пока пусто
end
end
undefined method `make_response!' for Editor::DashboardController:Class
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question