aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-25 15:40:45 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-01-25 15:40:45 +1100
commit5a94ec738ae9bf4fa5c69c0fbb5d5a98091eda7c (patch)
tree5ea536968f56564f700404db4655c73c24f35cbc /app
parent9bbe54b368240d210ebc1ee5c5af15fd1b2d4c7c (diff)
path helper should be html safe and fix up view test for rspec 2
Diffstat (limited to 'app')
-rw-r--r--app/views/request/_request_listing_single.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/request/_request_listing_single.rhtml b/app/views/request/_request_listing_single.rhtml
index e8c1a393f..25f63b367 100644
--- a/app/views/request/_request_listing_single.rhtml
+++ b/app/views/request/_request_listing_single.rhtml
@@ -1,6 +1,6 @@
<div class="request_listing">
<span class="head">
- <%= link_to h(info_request.title), (@play_urls ? request_path(:url_title => info_request.url_title) : request_url(info_request)) %>
+ <%= link_to h(info_request.title), request_path(:url_title => info_request.url_title).html_safe %>
</span>
<span class="desc">
<%= excerpt(info_request.initial_request_text, "", 150) %>