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-05-28 18:08:57 -04:00
parent 252dc5bdfa
commit 44392c1df3
20 changed files with 293 additions and 27 deletions

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