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:
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user