Added Searching Features

* Added Thread Search Feature

* Added User Search Feature

* Re-organized searching, added @mention support to author search
This commit is contained in:
MrYummy
2017-06-18 13:11:36 -04:00
parent e7463524af
commit 1316d7ca03
20 changed files with 293 additions and 27 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
<% title "Forums" %>
<%= link_to "All threads", forumthreads_path(params.except("controller", "action")), class: "btn blue right" %>
<div id="forum_groups">
<% @groups.each do |group| %>
<div class="item-group" id="group-<%= group.id %>">
@@ -56,4 +58,4 @@
<%= link_to "New group", new_forumgroup_path, class: "btn blue" %>
<% elsif mod? %>
<%= link_to "New group", "#", class: "btn blue", disabled: true %>
<% end %>
<% end %>