Class: Curate::UserProfilesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Curate::UserProfilesController
- Defined in:
- app/controllers/curate/user_profiles_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
5 6 7 8 9 10 11 |
# File 'app/controllers/curate/user_profiles_controller.rb', line 5 def show if current_user.repository_id.present? redirect_to person_path(current_user.person) else redirect_to edit_user_registration_path end end |