Domain on Authlogic Server

Following this tutorial , getting the following errors:

 NameError in Admin/dashboardsController#show

uninitialized constant Admin::DashboardsController



 NameError in Admin sessionController#new

uninitialized constant Admin::AdminHelper

not sure how to fix it!

+5
source share
1 answer

Make sure you specify

  • Admin :: WhateverController is located under the RAILS_ROOT / app / controller / admin / directory .
  • Admin :: WhateverHelper is located under the RAILS_ROOT / app / helpers / admin / directory
  • Admin :: WhateverController should be called dashboards_controller.rb
  • Admin :: WhateverHelper should be called dashboards_helper.rb
+1
source

All Articles