class SystemPicturesController < ApplicationController
- layout 'test' if Pettanr::TestLayout
+ layout 'test' if Pettanr::Application.test_layout
before_filter :authenticate_user!, :only => [:index, :show]
before_filter :authenticate_admin!, :only => [:list, :browse, :new, :create]