recommendations: add search form, allow searching by username.

This commit is contained in:
evazion
2019-12-02 02:04:46 -06:00
parent ae46f7a665
commit efda9f37e1
11 changed files with 57 additions and 40 deletions

View File

@@ -241,7 +241,7 @@ Rails.application.routes.draw do
get "reports/upload_tags" => "reports#upload_tags"
get "reports/down_voting_post" => "reports#down_voting_post"
post "reports/down_voting_post_create" => "reports#down_voting_post_create"
resource :recommended_posts, only: [:show]
resources :recommended_posts, only: [:index]
resources :saved_searches, :except => [:show] do
collection do
get :labels