mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Merge branch 'master' into registry-790
This commit is contained in:
commit
e4305e7865
86 changed files with 1329 additions and 1163 deletions
|
@ -2,7 +2,7 @@ Rails.application.configure do
|
|||
# Settings specified here will take precedence over those in config/application.rb.
|
||||
|
||||
config.cache_classes = true
|
||||
config.eager_load = true
|
||||
config.eager_load = false
|
||||
|
||||
config.serve_static_files = true
|
||||
config.static_cache_control = 'public, max-age=3600'
|
||||
|
@ -25,4 +25,4 @@ Rails.application.configure do
|
|||
config.cache_store = :memory_store
|
||||
end
|
||||
|
||||
Que.mode = :sync
|
||||
Que.mode = :sync
|
||||
|
|
18
config/locales/registrant/contacts.en.yml
Normal file
18
config/locales/registrant/contacts.en.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
en:
|
||||
registrant:
|
||||
contacts:
|
||||
show:
|
||||
general:
|
||||
header: General
|
||||
|
||||
address:
|
||||
header: Address
|
||||
|
||||
statuses:
|
||||
header: Statuses
|
||||
status: Status
|
||||
notes: Note
|
||||
|
||||
domains:
|
||||
header: Domains
|
||||
all: All roles
|
|
@ -3,3 +3,4 @@ en:
|
|||
nameservers:
|
||||
update:
|
||||
replaced: Nameserver have been successfully replaced
|
||||
affected_domains: Affected domains
|
||||
|
|
|
@ -101,6 +101,8 @@ Rails.application.routes.draw do
|
|||
namespace :registrant do
|
||||
root 'domains#index'
|
||||
|
||||
resources :registrars, only: :show
|
||||
resources :contacts, only: :show
|
||||
resources :domains, only: %i[index show] do
|
||||
collection do
|
||||
get :download_list
|
||||
|
@ -111,8 +113,8 @@ Rails.application.routes.draw do
|
|||
end
|
||||
end
|
||||
|
||||
resources :domain_update_confirms
|
||||
resources :domain_delete_confirms
|
||||
resources :domain_update_confirms, only: %i[show update]
|
||||
resources :domain_delete_confirms, only: %i[show update]
|
||||
|
||||
devise_scope :user do
|
||||
get 'login' => 'sessions#login'
|
||||
|
@ -125,29 +127,8 @@ Rails.application.routes.draw do
|
|||
post 'id' => 'sessions#id'
|
||||
get 'logout' => '/devise/sessions#destroy'
|
||||
end
|
||||
|
||||
resources :domains do
|
||||
resources :registrant_verifications
|
||||
collection do
|
||||
post 'update', as: 'update'
|
||||
post 'destroy', as: 'destroy'
|
||||
get 'renew'
|
||||
get 'edit'
|
||||
get 'info'
|
||||
get 'delete'
|
||||
end
|
||||
end
|
||||
|
||||
resources :registrars do
|
||||
collection do
|
||||
get :search
|
||||
end
|
||||
end
|
||||
|
||||
resources :contacts
|
||||
end
|
||||
|
||||
|
||||
# ADMIN ROUTES
|
||||
namespace :admin do
|
||||
resources :keyrelays
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Spring.watch 'config/application.yml'
|
Loading…
Add table
Add a link
Reference in a new issue