OSDN Git Service

fix: fetch fail
[pettanr/pettanr.git] / app / controllers / providers_controller.rb
index d229d28..526a465 100644 (file)
@@ -1,6 +1,5 @@
 class ProvidersController < ApplicationController
-  layout 'test' if MagicNumber['test_layout']
-  before_filter :authenticate_admin!, :only => [:index, :show]
+  before_action :authenticate_admin!, :only => [:index, :show, :destroy]
 
   def index
     @page = Provider.page params[:page]
@@ -27,4 +26,7 @@ class ProvidersController < ApplicationController
     end
   end
 
+  def destroy
+  end
+  
 end