app/controllers/lookbook/application_controller.rb in lookbook-0.8.3 vs app/controllers/lookbook/application_controller.rb in lookbook-0.9.0
- old
+ new
@@ -12,10 +12,10 @@
def index
if feature_enabled? :pages
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)
end
end
end
protected