Fix #4116: "Couldn't find template for digesting" errors.

Specify full path to shared partial to work around bug in the template
digesting system in Rails.
This commit is contained in:
evazion
2019-08-03 17:40:45 -05:00
parent 39bd766b34
commit 98d80a0cca
4 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@
<div class="body prose">
<%= format_text(comment.body) %>
<%= render "update_notice", record: comment %>
<%= render "application/update_notice", record: comment %>
</div>
<% if CurrentUser.is_member? %>

View File

@@ -15,7 +15,7 @@
<div class="prose">
<%= format_text(parse_embedded_tag_request_text(forum_post.body)) %>
</div>
<%= render "update_notice", record: forum_post %>
<%= render "application/update_notice", record: forum_post %>
<menu>
<li>ID: <%= forum_post.id %></li>
<% if CurrentUser.is_member? && @forum_topic %>

View File

@@ -20,7 +20,7 @@
<td><%= compact_time(feedback.created_at) %></td>
<td>
<%= format_text(feedback.body) %>
<%= render "update_notice", record: feedback, interval: 0.minutes %>
<%= render "application/update_notice", record: feedback, interval: 0.minutes %>
</td>
<td>
<% if feedback.editable_by?(CurrentUser.user) %>

View File

@@ -8,7 +8,7 @@
<th>Date</th>
<td>
<%= compact_time @change_request.created_at %>
<%= render "update_notice", record: @change_request %>
<%= render "application/update_notice", record: @change_request %>
</td>
</tr>
<tr>