Dictionary#index

Find me in app/views/dictionary/index.html.erb

<%= @parts_of_speech.count %> parts of speech entries in database

Parts of Speech

<% @parts_of_speech.each do |item| %> <% end %>
Part of Speech Definition
<%= item.pos %> <%= item.definition %>

Words

<% @words.each do |word| %>

<%= word.word %>

<% word.definitions.each do |definition| %> <% end %>
Part of Speech Definition
<%= definition.pos %> <%= definition.definition %>
<% end %>