Skip to content

Commit

Permalink
Helper name changed some time ago but maizzle compiled template wasn'…
Browse files Browse the repository at this point in the history
…t properly updated for some reason
  • Loading branch information
mlandauer committed Nov 21, 2024
1 parent f3e8f2a commit 8c66d45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/views/alert_mailer/alert.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,12 @@
<table class="dark-mode-bg-black group" style="width: 100%; background-color: #ffffff; padding: 16px 24px" cellpadding="0" cellspacing="0" role="none">
<tr>
<td style="width: 36px">
<a href="<%= edit_profile_alert_url(@alert) %>">
<a href="<%= edit_alert_url(@alert) %>">
<img src="<%= attachments['pencil.png'].url %>" style="max-width: 100%; vertical-align: middle; line-height: 1; border: 0;" alt="">
</a>
</td>
<td>
<a href="<%= edit_profile_alert_url(@alert) %>" class="group-hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94"> Edit alert </a>
<a href="<%= edit_alert_url(@alert) %>" class="group-hover-text-fuchsia-darker focus-bg-sun-yellow" style="font-weight: 700; color: #CA3F94"> Edit alert </a>
</td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion maizzle/src/templates/alert.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<% end %>
<!-- TODO: Style divider correctly -->
<x-divider />
<x-box-button url="<%= edit_profile_alert_url(@alert) %>"
<x-box-button url="<%= edit_alert_url(@alert) %>"
icon="<%= attachments['pencil.png'].url %>">
Edit alert
</x-box-button>
Expand Down

0 comments on commit 8c66d45

Please sign in to comment.