summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMrYummy <elemental428@gmail.com>2017-07-04 22:57:31 +0200
committerMrYummy <elemental428@gmail.com>2017-07-04 22:57:31 +0200
commit4e1b6b430b58c1f6191af89f55c5c498e7a65e6d (patch)
treea28897a72c364308e849ff0b82c2449caf658967
parentf90257fe73dbfee7e7796025345d126a45bac376 (diff)
limited params in params_list to the 6 queries
-rw-r--r--app/views/forumthreads/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/forumthreads/index.html.erb b/app/views/forumthreads/index.html.erb
index bd68e29..02e425b 100644
--- a/app/views/forumthreads/index.html.erb
+++ b/app/views/forumthreads/index.html.erb
@@ -1,5 +1,5 @@
<%= link_to "Forums", forums_path %> →
-<% params_list = params.except(:controller, :action) %>
+<% params_list = params.slice(:query, :title, :content, :author, :label, :reply) %>
<% if params_list.any? %>
<%= link_to "All Threads", forumthreads_path %> → Search Results
<% else %>