summaryrefslogtreecommitdiff
path: root/app/views/forums/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/forums/show.html.erb')
-rw-r--r--app/views/forums/show.html.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/forums/show.html.erb b/app/views/forums/show.html.erb
index 36741d9..b232292 100644
--- a/app/views/forums/show.html.erb
+++ b/app/views/forums/show.html.erb
@@ -2,8 +2,7 @@
<h1>
<%= title @forum %>
- <% params[:id] = @forum.id %>
- <%= link_to "Search Threads", forumthreads_path(params.to_hash), class: "btn blue right" %>
+ <%= link_to "Search Threads", forumthreads_path(forum: @forum.id), class: "btn blue right" %>
</h1>
<% if @forum.can_write?(current_user) %>
<p>