diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-03-22 12:56:11 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-03-22 12:56:11 +1100 |
commit | 2f7a41599ad936bbf117c1ea6e8356cb6e92b5a6 (patch) | |
tree | 79a6292ead0639368f40cdab9e7ce1838a9d64bc /app/controllers/request_controller.rb | |
parent | d09758c79fff462906b48dda6601ced25a8865da (diff) |
Add first pass at page for reporting a request
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index ad1918005..3f73fe65c 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -699,6 +699,10 @@ class RequestController < ApplicationController redirect_to request_url(info_request) end + def new_report_request + @info_request = InfoRequest.find_by_url_title!(params[:url_title]) + end + # special caching code so mime types are handled right around_filter :cache_attachments, :only => [ :get_attachment, :get_attachment_as_html ] def cache_attachments |