OSDN Git Service

fix: any
[pettanr/pettanr.git] / app / controllers / provider_sources_controller.rb
index 953fe2c..baf83a9 100644 (file)
@@ -1,6 +1,5 @@
 class ProviderSourcesController < ApplicationController
-  layout 'test' if MagicNumber['test_layout']
-  before_filter :authenticate_admin!, :only => [:index, :import]
+  before_action :authenticate_admin!, :only => [:index, :import]
   
   def index
     @urls = MagicNumber['provider_sources']