Dictionary#index
Find me in app/views/dictionary/index.html.erb
<%= @parts_of_speech.count %> parts of speech entries in database
Parts of Speech
Part of Speech |
Definition |
<% @parts_of_speech.each do |item| %>
<%= item.pos %> |
<%= item.definition %> |
<% end %>
Words
<% @words.each do |word| %>
<%= word.word %>
<%= render "application/definitions", word: word %>
<% end %>