X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/45f12aa99e9f9634b5494c9f56a5a92168c62305..84db1d66b7d819a4a777d2b9e5909cffe82c514e:/app/controllers/user_controller.rb?ds=sidebyside diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 3a4b00920..f9bbd5dd5 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -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'