OSDN Git Service

fix: omniauth twitter
[pettanr/pettanr.git] / app / controllers / original_pictures_controller.rb
index 59c0678..67604b1 100644 (file)
@@ -1,11 +1,11 @@
 #原画
 class OriginalPicturesController < ApplicationController
-  before_filter :authenticate_reader, :only => [:show, :history]
-  before_filter :authenticate_user, :only => [:index, :new, :edit, :create, :update, :destroy]
-  before_filter :authenticate_artist, :only => [:index, :new, :edit, :create, :update, :destroy]
+  before_action :authenticate_reader, :only => [:show, :history]
+  before_action :authenticate_user, :only => [:index, :new, :edit, :create, :update, :destroy]
+  before_action :authenticate_artist, :only => [:index, :new, :edit, :create, :update, :destroy]
   
   def index
-    filer_list
+    filer_list param: @operators
   end
 
   def show_html_format format