diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-01-13 07:38:58 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-01-13 07:38:58 +0000 |
commit | 9561130117e9f73c508d43ae4b154ce1d4dc1958 (patch) | |
tree | 6be7f1b34b478a6b1724a5e8c0baf45089d20e43 /app/controllers/request_controller.rb | |
parent | 0440a663aef77c4a4bbcd96d506748a09057757a (diff) | |
parent | 7c45a7297345e26e02010a554ecc189132e07c10 (diff) |
Merge branch 'release/0.5' of github.com:sebbacon/alaveteli into release/0.5
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index 99aa3c7ea..fbf862af3 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -607,6 +607,7 @@ class RequestController < ApplicationController else incoming_message = IncomingMessage.find(params[:incoming_message_id]) if !incoming_message.info_request.user_can_view?(authenticated_user) + @info_request = incoming_message.info_request # used by view render :template => 'request/hidden', :status => 410 # gone end end |