Rails 3.2.3 namespaced controllers being overridden by global controllers with same name
问题 When the global application controller is loaded first, the namespaced application controller does not load when loading pages within that namespace. The application controller looks like this: class ApplicationController < ActionController::Base protect_from_forgery end And the namespaced application controller looks like this: class Admin::ApplicationController < ApplicationController def authenticate_admin! if current_admin.nil? redirect_to new_admin_session_url end end private def current