Skip to content

Commit 2eb7951

Browse files
committed
Show commit message in audit_results instead of the entire json
1 parent ebaa7b6 commit 2eb7951

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/views/commits/index.html.erb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ limitations under the License.
5353
</td>
5454
<td><%= commit.commit_date %></td>
5555
<td><%= commit.date_created %></td>
56-
<td><code><%= commit.audit_results %></code></td>
56+
<td><code>
57+
<% JSON.parse(commit.audit_results).each do |audit_result| %>
58+
<%= audit_result['audit_result'] %>
59+
<% end %>
60+
</code></td>
5761
</tr>
5862
<% end %>
5963
</table>

0 commit comments

Comments
 (0)