View and search users from admin panel

This commit is contained in:
Amaia Castro
2017-05-27 17:11:57 +02:00
parent 29d994dd4a
commit b616210607
11 changed files with 119 additions and 1 deletions

View File

@@ -238,6 +238,8 @@ Rails.application.routes.draw do
get :search, on: :collection
end
resources :users, only: [:index, :show]
scope module: :poll do
resources :polls do
get :search_questions, on: :member