mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Let registrar users change registrar account
This commit is contained in:
parent
207c2a704c
commit
37249a24f7
8 changed files with 104 additions and 9 deletions
|
@ -4,6 +4,19 @@ en:
|
|||
show:
|
||||
header: Your account
|
||||
|
||||
edit:
|
||||
header: Edit your account
|
||||
|
||||
form:
|
||||
submit_btn: Save changes
|
||||
|
||||
update:
|
||||
saved: Your account has been updated
|
||||
|
||||
details:
|
||||
header: Details
|
||||
edit_btn: Edit
|
||||
|
||||
linked_users:
|
||||
header: Linked users
|
||||
switch_btn: Switch
|
||||
|
|
|
@ -66,7 +66,7 @@ Rails.application.routes.draw do
|
|||
resources :account_activities
|
||||
|
||||
put 'current_user/switch/:new_user_id', to: 'current_user#switch', as: :switch_current_user
|
||||
resource :account, controller: :account, only: :show
|
||||
resource :account, controller: :account, only: %i[show edit update]
|
||||
|
||||
resources :domains do
|
||||
collection do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue