Add dictionary controller with index route
This commit is contained in:
5
app/controllers/dictionary_controller.rb
Normal file
5
app/controllers/dictionary_controller.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class DictionaryController < ApplicationController
|
||||
def index
|
||||
@parts_of_speech = PartOfSpeech.all
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user