1 class ProviderSourcesController < ApplicationController
2 layout 'test' if MagicNumber['test_layout']
3 before_filter :authenticate_admin!, :only => [:index, :import]
6 @urls = MagicNumber['provider_sources']
8 format.html # index.html.erb
13 @results = Provider.import MagicNumber['provider_sources']
14 respond_to do |format|
15 format.html # index.html.erb