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