diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-12 17:54:23 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-12 17:54:23 +0000 |
commit | cb020f57f9cec5610c40bbcb85257776c27642a1 (patch) | |
tree | 232d8da7d305f63e157250d5a9b2d60c3b3864df | |
parent | dc6fd5c8a369b3128629586561967c7842896920 (diff) |
Set a variable the view relies on
-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 6e33fe043..b8f6fac5a 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -602,6 +602,7 @@ class RequestController < ApplicationController # Test for hidden 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 |