OSDN Git Service

t#30200:update i18n devise
[pettanr/pettanr.git] / app / controllers / ground_pictures_controller.rb
index 6415264..1830465 100644 (file)
@@ -1,6 +1,7 @@
 class GroundPicturesController < ApplicationController
   layout 'test' if MagicNumber['test_layout']
   before_filter :authenticate_user!, :only => [:index]
+  before_filter :authenticate_author, :only => [:index]
 
   # GET /ground_pictures
   # GET /ground_pictures.json