class PagesController < ApplicationController
include HighVoltage::StaticPage
layout :layout_for_page
private
def layout_for_page
if params[:id].to_s.starts_with?("synthesis/")
'synthesis'
else
'application'
end