diff options
-rw-r--r-- | app/models/public_body.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/public_body.rb b/app/models/public_body.rb index 95bc10434..3a6dd58fb 100644 --- a/app/models/public_body.rb +++ b/app/models/public_body.rb @@ -68,8 +68,8 @@ class PublicBody < ActiveRecord::Base validate :request_email_if_requestable - before_save :set_api_key, - :set_default_publication_scheme + before_save :set_api_key + before_save :set_default_publication_scheme after_save :purge_in_cache after_update :reindex_requested_from |