internetee-registry/app/controllers/registrar/profile_controller.rb
Artur Beljajev e2ebe0aa84 Improve registrar area linked user switch
- Introduce profile
- Move linked users to profile
- Use PUT

#599
2017-10-09 11:03:43 +03:00

17 lines
255 B
Ruby

class Registrar
class ProfileController < BaseController
skip_authorization_check
helper_method :linked_users
def show
@user = current_user
end
private
def linked_users
current_user.linked_users
end
end
end