app/views/layouts/lookbook/page.html.erb in lookbook-1.3.4 vs app/views/layouts/lookbook/page.html.erb in lookbook-1.4.0
- old
+ new
@@ -14,11 +14,11 @@
<% if @previous_page %>
<%= lookbook_render :button,
size: :lg,
icon: :chevron_left,
tooltip: "Previous page",
- href: lookbook_page_path(@previous_page.lookup_path),
+ href: lookbook_page_path(@previous_page.path),
class: "pr-0.5 bg-transparent" %>
<% else %>
<%= lookbook_render :button,
size: :lg,
icon: :chevron_left,
@@ -29,10 +29,10 @@
<% if @next_page %>
<%= lookbook_render :button,
size: :lg,
icon: :chevron_right,
tooltip: "Next page",
- href: lookbook_page_path(@next_page.lookup_path),
+ href: lookbook_page_path(@next_page.path),
class: "pl-0.5 bg-transparent" %>
<% else %>
<%= lookbook_render :button,
size: :lg,
icon: :chevron_right,
\ No newline at end of file