app/controllers/lookbook/application_controller.rb in lookbook-1.0.0.beta.1 vs app/controllers/lookbook/application_controller.rb in lookbook-1.0.0.beta.2
- old
+ new
@@ -13,10 +13,10 @@
end
def index
landing = Lookbook.pages.find(&:landing) || Lookbook.pages.first
if landing.present?
- redirect_to page_path(landing.lookup_path)
+ redirect_to lookbook_page_path(landing.lookup_path)
else
render "lookbook/index", layout: Lookbook.previews.any? ? "lookbook/application" : "lookbook/shell"
end
end