Clean up frontend, DRY up templates

This commit is contained in:
maddiebaka
2023-10-22 14:05:01 -04:00
parent c5cbffb4e5
commit 66fc396504
5 changed files with 45 additions and 37 deletions

View File

@@ -1,3 +1,3 @@
<h1><%= @word.word %></h1>
<%= render "application/definitions", word: @word %>
<%= render "definitions", word: @word %>