diff options
author | Francis Irving <francis@mysociety.org> | 2010-06-16 20:16:10 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-06-16 20:16:10 +0100 |
commit | f7b610ebbfa0552b727a41fc092ac9c8c1b7fe3a (patch) | |
tree | 0b7cca4822911d18e003b7bbbb0c995ad882d2cf /app/models/info_request.rb | |
parent | 9438fe1eb36ed95c0787c8d764e94fde2698012e (diff) |
Change 'rejected' to 'refused', as used in the law
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index da953f231..f6eec0601 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -56,7 +56,7 @@ class InfoRequest < ActiveRecord::Base 'waiting_clarification', 'gone_postal', 'not_held', - 'rejected', + 'rejected', # this is called 'refused' in UK FOI law and the user interface, but 'rejected' internally for historic reasons 'successful', 'partially_successful', 'internal_review', @@ -83,7 +83,7 @@ class InfoRequest < ActiveRecord::Base 'authority_only', # only people from authority domains 'nobody' ] - # what to do with rejected new responses + # what to do with refused new responses validates_inclusion_of :handle_rejected_responses, :in => [ 'bounce', # return them to sender 'holding_pen', # put them in the holding pen @@ -744,7 +744,7 @@ public elsif status == 'not_held' "Information not held." elsif status == 'rejected' - "Rejected." + "Refused." elsif status == 'partially_successful' "Partially successful." elsif status == 'successful' |