I think I would put this split into the controller and then render one template or another based on `params[:compact]`.