Remove custom_layout from nonprofit
This commit is contained in:
parent
0a5d78b7f4
commit
74ba1cf069
3 changed files with 1 additions and 10 deletions
|
@ -149,8 +149,6 @@ Commitchange::Application.routes.draw do
|
||||||
resources(:campaign_gift_options, {only: [:index, :show, :create, :update, :destroy]}) do
|
resources(:campaign_gift_options, {only: [:index, :show, :create, :update, :destroy]}) do
|
||||||
put(:update_order, {on: :collection})
|
put(:update_order, {on: :collection})
|
||||||
end
|
end
|
||||||
|
|
||||||
get 'custom_layout', controller: 'campaigns', action: 'custom_layout'
|
|
||||||
end
|
end
|
||||||
|
|
||||||
resource(:billing_subscription, {only: [:create]}) do
|
resource(:billing_subscription, {only: [:create]}) do
|
||||||
|
@ -228,7 +226,6 @@ Commitchange::Application.routes.draw do
|
||||||
# Campaigns
|
# Campaigns
|
||||||
match ':state_code/:city/:name/campaigns' => 'campaigns#index'
|
match ':state_code/:city/:name/campaigns' => 'campaigns#index'
|
||||||
match ':state_code/:city/:name/campaigns/:campaign_slug' => 'campaigns#show', :as => :campaign_loc
|
match ':state_code/:city/:name/campaigns/:campaign_slug' => 'campaigns#show', :as => :campaign_loc
|
||||||
match ':state_code/:city/:name/campaigns/:campaign_slug/custom_layout' => 'campaigns#custom_layout', :as => :campaign_loc
|
|
||||||
match ':state_code/:city/:name/campaigns/:campaign_slug/supporters' => 'campaigns/supporters#index', :as => :campaign_loc
|
match ':state_code/:city/:name/campaigns/:campaign_slug/supporters' => 'campaigns/supporters#index', :as => :campaign_loc
|
||||||
match '/peer-to-peer' => 'campaigns#peer_to_peer'
|
match '/peer-to-peer' => 'campaigns#peer_to_peer'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
class AddCustomLayoutToNonprofit < ActiveRecord::Migration
|
|
||||||
def change
|
|
||||||
add_column :nonprofits, :custom_layout, :string
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1471,8 +1471,7 @@ CREATE TABLE nonprofits (
|
||||||
card_failure_message_bottom text,
|
card_failure_message_bottom text,
|
||||||
fields_needed text,
|
fields_needed text,
|
||||||
autocomplete_supporter_address boolean DEFAULT false,
|
autocomplete_supporter_address boolean DEFAULT false,
|
||||||
currency character varying(255) DEFAULT 'eur'::character varying,
|
currency character varying(255) DEFAULT 'eur'::character varying
|
||||||
custom_layout character varying(255)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue