app/helpers/lookbook/application_helper.rb in lookbook-0.9.0 vs app/helpers/lookbook/application_helper.rb in lookbook-0.9.1
- old
+ new
@@ -9,10 +9,10 @@
end
def landing_path
landing = feature_enabled?(:pages) ? Lookbook.pages.find(&:landing) || Lookbook.pages.first : nil
if landing.present?
- page_path(landing.lookup_path)
+ lookbook_page_path landing.lookup_path
else
lookbook_home_path
end
end
end