mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Use singular controller
This commit is contained in:
parent
756836001c
commit
28416a3375
4 changed files with 10 additions and 11 deletions
|
@ -149,6 +149,8 @@ Rails.application.routes.draw do
|
|||
|
||||
# ADMIN ROUTES
|
||||
namespace :admin do
|
||||
root 'dashboard#show'
|
||||
|
||||
resources :keyrelays
|
||||
resources :zonefiles
|
||||
resources :zones, controller: 'dns/zones', except: %i[show destroy]
|
||||
|
@ -258,8 +260,6 @@ Rails.application.routes.draw do
|
|||
authenticate :user do
|
||||
mount Que::Web, at: 'que'
|
||||
end
|
||||
|
||||
root 'dashboards#show'
|
||||
end
|
||||
|
||||
devise_for :users
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue