class Lookbook::ApplicationController
def index
def index if feature_enabled? :pages landing = Lookbook.pages.find(&:landing) || Lookbook.pages.first if landing.present? redirect_to page_path(landing.lookup_path) end end end
def index if feature_enabled? :pages landing = Lookbook.pages.find(&:landing) || Lookbook.pages.first if landing.present? redirect_to page_path(landing.lookup_path) end end end