test/rails_app/app/controllers/application_controller.rb in devise-1.1.pre4 vs test/rails_app/app/controllers/application_controller.rb in devise-1.1.rc0

- old
+ new

@@ -1,6 +1,8 @@ # Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base protect_from_forgery + + before_filter :current_user end