Add dictionary controller with index route
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user