]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_controller.rb
force changeset id to be an int so we don't have a table scan
[rails.git] / app / controllers / user_controller.rb
index ca84d770199b347dc88a9f7555d30b25c4f6cce3..ca004676219f52b0fccc0c73267b83a2093ee7a1 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'