class Lookbook::ApplicationController

def index

def index
  landing = Engine.pages.find(&:landing?) || Engine.pages.first
  if landing.present?
    redirect_to lookbook_page_path(landing.lookup_path)
  else
    render "lookbook/index"
  end
end