users: inline search form on /users index page.

* Add the user search form to the /users page.
* Remove the /users/search page.
This commit is contained in:
evazion
2020-12-21 22:42:50 -06:00
parent 7a2f72ce98
commit 8221c8dcba
6 changed files with 9 additions and 26 deletions
-3
View File
@@ -38,9 +38,6 @@ class UsersController < ApplicationController
respond_with(@users)
end
def search
end
def show
@user = authorize User.find(params[:id])
respond_with(@user, methods: @user.full_attributes) do |format|