OSDN Git Service

t#30200:update i18n devise
[pettanr/pettanr.git] / app / controllers / home_controller.rb
index 83142c5..264ebfb 100644 (file)
@@ -4,6 +4,10 @@ class HomeController < ApplicationController
     :index, :show, :profile, :configure, :create_token, :delete_token, :step2, :save_step2, :step3, :save_step3, 
     :comic, :panel, :picture, :panel_picture, :panel_color, :ground_picture, :ground_color
   ]
+  before_filter :authenticate_author, :only => [
+    :index, :show, :profile, :configure, :create_token, :delete_token, :step2, :save_step2, :step3, :save_step3, 
+    :comic, :panel, :picture, :panel_picture, :panel_color, :ground_picture, :ground_color
+  ]
   before_filter :authenticate_artist, :only => [:picture]
   
   def index