Removed deprecated controllers and routes
This commit is contained in:
parent
12d27de5c0
commit
a9f3d2de81
2 changed files with 0 additions and 15 deletions
|
@ -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
|
|
@ -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]})
|
||||
|
||||
|
|
Loading…
Reference in a new issue