mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Merge branch 'master' of github.com:internetee/registry
This commit is contained in:
commit
c64fa8c132
10 changed files with 215 additions and 11 deletions
|
@ -27,6 +27,8 @@ module Registry
|
|||
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
||||
# config.i18n.default_locale = :de
|
||||
|
||||
config.autoload_paths += %W(#{config.root}/lib)
|
||||
|
||||
config.generators do |g|
|
||||
g.stylesheets false
|
||||
g.javascripts false
|
||||
|
|
|
@ -423,3 +423,5 @@ en:
|
|||
transfer_requested: 'Transfer requested.'
|
||||
message_was_not_found: 'Message was not found'
|
||||
host_obj_is_not_allowed: 'hostObj object is not allowed'
|
||||
generate_zonefile: 'Generate zonefile'
|
||||
zonefile: 'Zonefile'
|
||||
|
|
|
@ -7,7 +7,11 @@ Rails.application.routes.draw do
|
|||
|
||||
## ADMIN ROUTES
|
||||
namespace(:admin) do
|
||||
resources :domains
|
||||
resources :domains do
|
||||
member do
|
||||
get 'zonefile'
|
||||
end
|
||||
end
|
||||
resources :settings
|
||||
resources :registrars do
|
||||
collection do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue