Method: Ishapi::UserProfilesController#show

Defined in:
app/controllers/ishapi/user_profiles_controller.rb

#showObject



9
10
11
12
# File 'app/controllers/ishapi/user_profiles_controller.rb', line 9

def show
  @profile = Ish::UserProfile.find_by :username => params[:username]
  authorize! :show, @profile
end