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']