class OriginalPicturesController < ApplicationController
layout 'test' if MagicNumber['test_layout']
before_filter :authenticate_user!, :only => [:index, :show, :history, :new, :edit, :create, :update, :destroy]
+ before_filter :authenticate_author, :only => [:index, :show, :history, :new, :edit, :create, :update, :destroy]
before_filter :authenticate_admin!, :only => [:list, :browse]
before_filter :authenticate_artist, :only => [:index, :show, :history, :new, :edit, :create, :update, :destroy]