Class: Ishapi::UserProfilesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Ishapi::UserProfilesController
- Defined in:
- app/controllers/ishapi/user_profiles_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#my ⇒ Object
12 13 14 15 |
# File 'app/controllers/ishapi/user_profiles_controller.rb', line 12 def my @profile = current_user.profile :show, @profile end |
#show ⇒ Object
7 8 9 10 |
# File 'app/controllers/ishapi/user_profiles_controller.rb', line 7 def show @profile = IshModels::UserProfile.find_by :username => params[:username] :show, @profile end |