moved all search styling to CSS, removed friendly (but slow) URLs, moved WHERE strings into an array

This commit is contained in:
MrYummy
2017-06-02 02:10:49 +02:00
parent a658852e86
commit a1ade53445
10 changed files with 164 additions and 56 deletions

View File

@@ -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>