aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-08-21 10:48:15 +0100
committerLouise Crow <louise.crow@gmail.com>2013-09-16 12:41:45 +0100
commit8eab413902f58ca3b812f8ecfb73de731b7f244b (patch)
treef51a4d3a7ad556124454c965dfaa006eee5cdd76 /app/models/info_request.rb
parent5f964420b0b66cc2acd93a866e3671c32cc42d91 (diff)
Extract out code for making a request summary file
Render the show template within the current thread rather than making another request - we're going to need to use the current session in order to know what do include in the zip file, now that we have more fine-grained visibility of messages. Also, this will mean we can use this functionality in single threaded contexts, and test it more easily. Don't display profile photos as this would require another process, and hide other icons so we don't need to include them. Use render_to_string as a more standard way of rendering templates to a string for further manipulation.
Diffstat (limited to 'app/models/info_request.rb')
0 files changed, 0 insertions, 0 deletions