Merge branch 'master' of github.com:internetee/registry

This commit is contained in:
Andres Keskküla 2014-11-12 12:04:53 +02:00
commit c64fa8c132
10 changed files with 215 additions and 11 deletions

View file

@ -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

View file

@ -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'

View file

@ -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