module Lookbook::ApplicationHelper
def landing_path
def landing_path landing = feature_enabled?(:pages) ? Lookbook.pages.find(&:landing) || Lookbook.pages.first : nil if landing.present? page_path(landing.lookup_path) else home_path end end
def landing_path landing = feature_enabled?(:pages) ? Lookbook.pages.find(&:landing) || Lookbook.pages.first : nil if landing.present? page_path(landing.lookup_path) else home_path end end