Removed routes from credentials that aren't used along with controller actions
14 lines
346 B
Ruby
14 lines
346 B
Ruby
Rails.application.routes.draw do
|
|
|
|
resources :domains do
|
|
resources :credentials, only: [ :new, :create, :edit, :update, :destroy]
|
|
resources :virtuals
|
|
end
|
|
|
|
devise_for :users
|
|
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
|
|
|
|
# Defines the root path route ("/")
|
|
root "domains#index"
|
|
end
|