class PanelsController < ApplicationController
-layout 'test'
+ layout 'test' if Pettanr::TestLayout
before_filter :authenticate_user!, :only => [:index, :show, :create, :update, :destroy]
before_filter :authenticate_admin!, :only => [:list, :browse]