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]
end
end
+ def destroy
+ end
+
end