Add words controller with index and show actions
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
<h1>Words</h1>
|
||||
<% @words.each do |word| %>
|
||||
<h2><%= word.word %></h2>
|
||||
|
||||
<%= render "application/definitions", word: word %>
|
||||
<!--
|
||||
<table>
|
||||
<tr>
|
||||
<td><b>Part of Speech</b></td>
|
||||
@@ -32,4 +33,5 @@
|
||||
</tr>
|
||||
<% end %>
|
||||
</table>
|
||||
-->
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user