diff options
author | MrYummy <elemental428@gmail.com> | 2017-05-28 18:08:57 -0400 |
---|---|---|
committer | MrYummy <elemental428@gmail.com> | 2017-06-18 13:11:36 -0400 |
commit | 1316d7ca0335dd4ff5f8b4c7bb46e961b37503f0 (patch) | |
tree | 50259904cb3614f3161ef8a5c152017ef597a13d /config | |
parent | e7463524af03a62b8ba4adbdee29efe5f547c2d4 (diff) |
Added Searching Features
* Added Thread Search Feature
* Added User Search Feature
* Re-organized searching, added @mention support to author search
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index f79ab5b..4db3f30 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -27,14 +27,19 @@ Redstoner::Application.routes.draw do get 'lost_password' post 'reset_password' post 'suggestions' + post 'search_redirect' end end resources :forumgroups, path: '/forums/groups' - resources :forums, path: '/forums' resources :forumthreads, path: '/forums/threads' do resources :threadreplies, path: 'replies' + collection do + get 'search' + post 'search_redirect' + end end + resources :forums, path: '/forums' resources :tools do collection do |