OSDN Git Service

user check
[pettanr/pettanr.git] / app / controllers / authors_controller.rb
index a69fffa..6371ffd 100644 (file)
@@ -1,5 +1,5 @@
 class AuthorsController < ApplicationController
-  before_filter :authenticate_author!, :only => [:index, :show]
+  before_filter :authenticate_user!, :only => [:index, :show]
   before_filter :authenticate_admin!, :only => [:list, :browse]
 
   def index