diff options
author | Francis Irving <francis@mysociety.org> | 2010-10-04 00:47:42 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-10-04 00:47:42 +0100 |
commit | 645b18cb01af25c9f0e9fe003fdf5c768d6f18fd (patch) | |
tree | 1692ecb9cbe05b5f0d0b602106de9808a7276a40 /app/controllers/request_controller.rb | |
parent | b26b99cedcc307ccc3e22a2219eb24776fce41c0 (diff) |
Stylistic change to !, preferred now by Rails people rather than "not".
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index a3561468f..0b47999df 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -216,7 +216,7 @@ class RequestController < ApplicationController @outgoing_message.info_request = @info_request # Maybe we lost the address while they're writing it - if not @info_request.public_body.is_requestable? + if !@info_request.public_body.is_requestable? render :action => 'new_' + @info_request.public_body.not_requestable_reason return end |