diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-13 13:42:10 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-13 13:42:10 +0100 |
commit | 76ec90799352603406728cb51b4e70913413f2bd (patch) | |
tree | b6ab2aa6e04d99c89f0a8ac6442170ca539ba6b8 /config/routes.rb | |
parent | 668013265c3153383088d9dd53970ae837c1d405 (diff) |
Improved admin UI
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index cde84d3bc..2d70bdcea 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -6,8 +6,8 @@ Rails.application.routes.draw do mount ActionCable.server, at: 'cable' authenticate :user, lambda { |u| u.admin? } do - mount Sidekiq::Web, at: 'sidekiq' - mount PgHero::Engine, at: 'pghero' + mount Sidekiq::Web, at: 'sidekiq', as: :sidekiq + mount PgHero::Engine, at: 'pghero', as: :pghero end use_doorkeeper do @@ -46,6 +46,7 @@ Rails.application.routes.draw do namespace :admin do resources :pubsubhubbub, only: [:index] + resources :domain_blocks, only: [:index, :create] resources :accounts, only: [:index, :show, :update] do member do |