Dictionary show action for letters, alphabetical links helper
This commit is contained in:
9
app/views/dictionary/show.html.erb
Normal file
9
app/views/dictionary/show.html.erb
Normal file
@@ -0,0 +1,9 @@
|
||||
<div>
|
||||
<%= @letter.to_s %>
|
||||
</div>
|
||||
|
||||
<% @words.each do |word| %>
|
||||
<div>
|
||||
<h1><%= word.word %></h1>
|
||||
</div>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user