Skip to content

Instantly share code, notes, and snippets.

@nateberkopec
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nateberkopec/55b045ba4738c22fea92 to your computer and use it in GitHub Desktop.
Save nateberkopec/55b045ba4738c22fea92 to your computer and use it in GitHub Desktop.
class Admin::BaseController < ApplicationController
end
class Admin::DashboardsController < Admin::BaseContoller
end
+controllers
+ admin
+ base_controller.rb
+ dashboards_contrller.rb
uninitialized constant Admin::BaseContoller
Test::Application.routes.draw do
namespace :admin do
resources :dashboards
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment