aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/public_body.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/public_body.rb')
-rw-r--r--app/models/public_body.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/public_body.rb b/app/models/public_body.rb
index dfefbc7ab..6d93d4c60 100644
--- a/app/models/public_body.rb
+++ b/app/models/public_body.rb
@@ -26,7 +26,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: public_body.rb,v 1.141 2009-04-21 17:10:21 francis Exp $
+# $Id: public_body.rb,v 1.142 2009-04-23 10:22:10 francis Exp $
require 'csv'
require 'set'
@@ -212,7 +212,7 @@ class PublicBody < ActiveRecord::Base
# if the URL name has changed, then all requested_from: queries
# will break unless we update index for every event for every
# request linked to it
- after_save :reindex_requested_from
+ after_update :reindex_requested_from
def reindex_requested_from
if self.changes.include?('url_name')
for info_request in self.info_requests