Add words controller with index and show actions
This commit is contained in:
1 parent
ad08b283b0
commit
6202a6e778
11 files changed
+121
-1
No files matched your search
@@ -0,0 +1,3 @@
|
||||
<% @words.each do |word| %>
|
||||
<p><%= link_to word.word, word %></p>
|
||||
<% end %>
|
||||
@@ -0,0 +1,3 @@
|
||||
<h1><%= @word.word %></h1>
|
||||
|
||||
<%= render "application/definitions", word: @word %>
|
||||
Reference in new issue
Block a user