diff --git a/app/controllers/my_profile/maps_controller.rb b/app/controllers/my_profile/maps_controller.rb index a8ac94a..ebc910f 100644 --- a/app/controllers/my_profile/maps_controller.rb +++ b/app/controllers/my_profile/maps_controller.rb @@ -16,6 +16,7 @@ class MapsController < MyProfileController Profile.transaction do if profile.update_attributes!(params[:profile_data]) + BlockSweeper.expire_blocks profile.blocks.select{ |b| b.class == LocationBlock } session[:notice] = _('Address was updated successfully!') redirect_to :action => 'edit_location' end -- libgit2 0.21.2