Removed deprecated controllers and routes

This commit is contained in:
Eric Schultz 2018-06-05 15:55:10 -05:00
parent 12d27de5c0
commit a9f3d2de81
2 changed files with 0 additions and 15 deletions

View file

@ -1,12 +0,0 @@
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class PricingController < ApplicationController
include PricingHelper
def index
if current_role?(:super_admin) && params[:nonprofit_id]
@nonprofit = Nonprofit.find(params[:nonprofit_id])
else
@nonprofit = administered_nonprofit
end
end
end

View file

@ -12,14 +12,11 @@ Commitchange::Application.routes.draw do
resources(:emails, {only: [:create]})
resources(:settings, {only: [:index]})
resources(:pricing, {only: [:index]})
resources(:successes, {only: [:index]})
resources(:campaign_gifts, {only: [:create]})
resource(:cards, {only: [:create, :update, :destroy]})
resource(:direct_debit_details, {path: 'sepa', controller: :direct_debit_details, only: [:create]})
# resources(:activities, {only: [:create]})
# Creating presigned posts for direct-to-S3 upload
resources(:aws_presigned_posts, {only: [:create]})