app/controllers/kblog/application_controller.rb in kblog-0.0.2 vs app/controllers/kblog/application_controller.rb in kblog-0.0.3
- old
+ new
@@ -1,9 +1,10 @@
module Kblog
- class ApplicationController < ActionController::Base
+ class ApplicationController < ::ApplicationController
+ #ActionController::Base
- def current_user
- @current_user ||= User.find(session[:user_id]) if session[:user_id]
- end
- helper_method :current_user
- end
+ #def current_user
+ # @current_user ||= User.find(session[:user_id]) if session[:user_id]
+ # end
+ # helper_method :current_user
+ end
end