OSDN Git Service

user check
[pettanr/pettanr.git] / app / controllers / artists_controller.rb
index a2fa524..bfedf19 100644 (file)
@@ -1,5 +1,5 @@
 class ArtistsController < ApplicationController
-  before_filter :authenticate_author!, :only => [:index, :show, :create, :update, :destroy]
+  before_filter :authenticate_user!, :only => [:index, :show, :create, :update, :destroy]
   before_filter :authenticate_admin!, :only => [:list, :browse]
 
   # GET /artists