app/views/cambium/admin/paper_trail/versions/_version.html.erb in cambium-1.0.4 vs app/views/cambium/admin/paper_trail/versions/_version.html.erb in cambium-1.1.0

- old
+ new

@@ -8,15 +8,15 @@ </p> <p class="action"> <%= content_tag(:strong, user.name.present? ? user.name : user.email) %> <%= "#{version.event}d" %> <%= version.item_type.downcase %> - <% if cambium_edit_route(version.item).nil? %> + <% if cambium_route(:edit, version.item).nil? %> <%= content_tag(:strong, version.item.to_s) %> <% else %> <%= content_tag( :strong, - link_to(version.item.to_s, cambium_edit_route(version.item)) + link_to(version.item.to_s, cambium_route(:edit, version.item)) ) %> <% end %> </p> </div> </article>