Namespace languages controller to admin

This commit is contained in:
maddiebaka
2023-10-25 16:25:29 -04:00
parent 206c4da31f
commit c2891a66f8
17 changed files with 43 additions and 41 deletions

View File

@@ -1,9 +1,11 @@
Rails.application.routes.draw do
devise_for :users
#get 'dictionary/index'
resources :dictionary, only: [:index, :show]
resources :dictionary, only: [:index, :show, :create]
resources :words, only: [:index, :show]
resources :languages
namespace :admin do
resources :languages
end
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.