]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_controller.rb
merge 19364:19600 of rails_port into the openID branch
[rails.git] / app / controllers / user_controller.rb
index 3a4b009202b0138618a6ff879a3182078ec7c6b9..f9bbd5dd5be7c9fbeeb97c5b73bd03e2c06e7185 100644 (file)
@@ -16,6 +16,8 @@ class UserController < ApplicationController
 
   filter_parameter_logging :password, :pass_crypt, :pass_crypt_confirmation
   
+  cache_sweeper :user_sweeper, :only => [:account, :hide, :unhide, :delete]
+
   def save
     @title = t 'user.new.title'