To create a custom rails_admin dashboard, first create a new file here: lib/rails_admin.rb And in your rails_config/initializers/rails_admin.rb initializer file, be sure to include the above file: RailsAdmin.config do |config| require Rails.root.join(‘lib’, ‘rails_admin.rb’) end Within this new file, do the following: module RailsAdmin module Config module Actions class Dashboard < RailsAdmin::Config::Actions::Base RailsAdmin::Config::Actions.register(self) register_instance_option :root? […]
Rails Admin Custom Dashboard
- Post author By anthony
- Post date
- Categories In Rails
- 3 Comments on Rails Admin Custom Dashboard