class Lookbook::PagesController
def index
def index landing = Engine.pages.find(&:landing?) || Engine.pages.first raise_not_found("Page not found") unless landing.present? redirect_to lookbook_page_path(landing.path) end
def index landing = Engine.pages.find(&:landing?) || Engine.pages.first raise_not_found("Page not found") unless landing.present? redirect_to lookbook_page_path(landing.path) end