diff --git a/config/routes.rb b/config/routes.rb index df8e90a1..11259460 100755 --- a/config/routes.rb +++ b/config/routes.rb @@ -149,8 +149,6 @@ Commitchange::Application.routes.draw do resources(:campaign_gift_options, {only: [:index, :show, :create, :update, :destroy]}) do put(:update_order, {on: :collection}) end - - get 'custom_layout', controller: 'campaigns', action: 'custom_layout' end resource(:billing_subscription, {only: [:create]}) do @@ -228,7 +226,6 @@ Commitchange::Application.routes.draw do # Campaigns 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/custom_layout' => 'campaigns#custom_layout', :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' diff --git a/db/migrate/201810202124317_add_custom_layout_to_nonprofit.rb b/db/migrate/201810202124317_add_custom_layout_to_nonprofit.rb deleted file mode 100644 index db58866a..00000000 --- a/db/migrate/201810202124317_add_custom_layout_to_nonprofit.rb +++ /dev/null @@ -1,5 +0,0 @@ -class AddCustomLayoutToNonprofit < ActiveRecord::Migration - def change - add_column :nonprofits, :custom_layout, :string - end -end diff --git a/db/structure.sql b/db/structure.sql index 10aa0424..e01c9ee5 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -1471,8 +1471,7 @@ CREATE TABLE nonprofits ( card_failure_message_bottom text, fields_needed text, autocomplete_supporter_address boolean DEFAULT false, - currency character varying(255) DEFAULT 'eur'::character varying, - custom_layout character varying(255) + currency character varying(255) DEFAULT 'eur'::character varying );