diff options
-rw-r--r-- | app/models/public_body.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/public_body.rb b/app/models/public_body.rb index 4e43c890a..894e52985 100644 --- a/app/models/public_body.rb +++ b/app/models/public_body.rb @@ -179,7 +179,7 @@ class PublicBody < ActiveRecord::Base raise "Two bodies with the same historical URL name: #{name}" if old.size > 1 return unless old.size == 1 # does acts_as_versioned provide a method that returns the current version? - return PublicBody.find(old.first) + PublicBody.find(old.first) end # Set the first letter, which is used for faster queries |