Add words controller with index and show actions

This commit is contained in:
maddiebaka
2023-10-14 13:50:50 -04:00
parent ad08b283b0
commit 6202a6e778
11 changed files with 121 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ Rails.application.routes.draw do
devise_for :users
#get 'dictionary/index'
resources :dictionary, only: [:index]
resources :words, only: [:index, :show]
# 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.