Skip to content

Commit f084b14

Browse files
authored
Merge pull request #178 from gushonorato/fix_177
Fixes #177
2 parents e1de1b8 + 343716f commit f084b14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/kaffy_web/templates/resource/_table.html.eex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</td>
1515
<%= for {field, index} <- Enum.with_index(@fields) do %>
1616
<%= 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>
17+
<td><%= link Kaffy.ResourceSchema.kaffy_field_value(@conn, entry, field), to: Kaffy.Utils.router().kaffy_resource_path(@conn, :show, @context, @resource, entry.id) %></td>
1818
<% else %>
1919
<td><%= Kaffy.ResourceSchema.kaffy_field_value(@conn, entry, field) %></td>
2020
<% end %>

0 commit comments

Comments
 (0)