Add dictionary controller with index route

This commit is contained in:
maddiebaka
2023-10-12 20:02:22 -04:00
parent 6f46b1be7c
commit bbe677f201
5 changed files with 28 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
Rails.application.routes.draw do
get 'dictionary/index'
# 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.
@@ -7,4 +8,5 @@ Rails.application.routes.draw do
# Defines the root path route ("/")
# root "posts#index"
root action: :index, controller: :dictionary
end