OSDN Git Service

t#30200:update i18n devise
[pettanr/pettanr.git] / app / controllers / system_pictures_controller.rb
index 0a9447d..203b5d8 100644 (file)
@@ -1,6 +1,7 @@
 class SystemPicturesController < ApplicationController
   layout 'test' if MagicNumber['test_layout']
   before_filter :authenticate_user!, :only => [:index, :show]
+  before_filter :authenticate_author, :only => [:index, :show]
   before_filter :authenticate_admin!, :only => [:list, :browse, :new, :create]
 
   # GET /system_pictures