mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
Rename profile page in registrar area to account
This commit is contained in:
parent
5e0eca22cf
commit
207c2a704c
10 changed files with 10 additions and 10 deletions
17
app/controllers/registrar/account_controller.rb
Normal file
17
app/controllers/registrar/account_controller.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
class Registrar
|
||||
class AccountController < BaseController
|
||||
skip_authorization_check
|
||||
|
||||
helper_method :linked_users
|
||||
|
||||
def show
|
||||
@user = current_registrar_user
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def linked_users
|
||||
current_registrar_user.linked_users
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue