• Category Archives: ActiveAdmin

rails – uninitialized constant dashboardcontroller

This is a quick hint: If you play with ActiveAdmin and get the error: “uninitialized constant dashboardcontroller” open your routes.rb in your /config-folder. Now look for: 1root :to => ‘your_controller#index’ You have to be sure, that your root definition is before 12devise_for :admin_users, ActiveAdmin::Devise.config   ActiveAdmin.routes(self) So your routes.rb could look like 12345YOUR_APP::Application.routes.draw do   […]

Read more at the source