Commit placeholder work
This commit is contained in:
1 parent
60f37ece67
commit
709aa882b3
8 files changed
+56
-3
No files matched your search
@@ -1,6 +1,12 @@
|
||||
class DictionaryController < ApplicationController
|
||||
def index
|
||||
@parts_of_speech = PartOfSpeech.all
|
||||
@english = Language.where(name: "English")
|
||||
@parts_of_speech = PartOfSpeech.where(language_id: @english)
|
||||
|
||||
@parts_of_speech.each do |pos|
|
||||
pos.translations.build
|
||||
end
|
||||
|
||||
@words = Word.all
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user