This commit is contained in:
albert
2012-02-20 15:33:42 -05:00
parent 05924fc286
commit 393b071fa1
4 changed files with 20 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ class UsersController < ApplicationController
respond_with(@users)
end
def search
@search = User.search(params[:search])
end
def show
@user = User.find(params[:id])
@presenter = UserPresenter.new(@user)