We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e1de1b8 + 343716f commit f084b14Copy full SHA for f084b14
lib/kaffy_web/templates/resource/_table.html.eex
@@ -14,7 +14,7 @@
14
</td>
15
<%= for {field, index} <- Enum.with_index(@fields) do %>
16
<%= if index == 0 do %>
17
- <td><%= link Kaffy.ResourceSchema.kaffy_field_value(@conn, entry, field), to: Kaffy.Utils.router().kaffy_resource_path(@conn, :show, @context, @resource, entry) %></td>
+ <td><%= link Kaffy.ResourceSchema.kaffy_field_value(@conn, entry, field), to: Kaffy.Utils.router().kaffy_resource_path(@conn, :show, @context, @resource, entry.id) %></td>
18
<% else %>
19
<td><%= Kaffy.ResourceSchema.kaffy_field_value(@conn, entry, field) %></td>
20
<% end %>
0 commit comments