aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-08-27 14:32:48 +0100
committerLouise Crow <louise.crow@gmail.com>2013-09-16 14:03:22 +0100
commit7cf64ac6665c8349c8b31120d6e22b800b99c3ab (patch)
tree657e2f9503eef793ccdd8213f4abac256957487b
parentd9c88eba4fe22688ef4f1503caa2deb74b1dc9e5 (diff)
Shorter way of getting text template.
-rw-r--r--app/controllers/request_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb
index e1fbb6a68..a09939509 100644
--- a/app/controllers/request_controller.rb
+++ b/app/controllers/request_controller.rb
@@ -963,7 +963,7 @@ class RequestController < ApplicationController
end
if !done
file_info = { :filename => 'correspondence.txt',
- :data => render_to_string(:template => 'request/show.text.erb',
+ :data => render_to_string(:template => 'request/show.text',
:layout => false) }
end
file_info