From ce0fcb4319149679042776ef0d3093476937798c Mon Sep 17 00:00:00 2001 From: Ben Woosley Date: Wed, 3 Aug 2016 17:56:32 +0200 Subject: [PATCH] Remove the Supporter thank you page The rest of the supporter code has already been removed --- app/controllers/supporters_controller.rb | 6 ------ app/views/supporters/thank_you.html.erb | 5 ----- config/routes.rb | 2 -- spec/examples.txt | 21 ++++++++++----------- 4 files changed, 10 insertions(+), 24 deletions(-) delete mode 100644 app/controllers/supporters_controller.rb delete mode 100644 app/views/supporters/thank_you.html.erb diff --git a/app/controllers/supporters_controller.rb b/app/controllers/supporters_controller.rb deleted file mode 100644 index 8dcf678..0000000 --- a/app/controllers/supporters_controller.rb +++ /dev/null @@ -1,6 +0,0 @@ -class SupportersController < ApplicationController - def thank_you - expires_in 2.hours, :public => true - render :action => 'thank_you', :layout => 'simple' - end -end diff --git a/app/views/supporters/thank_you.html.erb b/app/views/supporters/thank_you.html.erb deleted file mode 100644 index 34639e9..0000000 --- a/app/views/supporters/thank_you.html.erb +++ /dev/null @@ -1,5 +0,0 @@ -

<%= @page_title = 'Thanks for joining OurMTA' %>

- -

We'll be sending you monthly updates on the efforts and progress toward an effective, accountable MTA, and a far better New York transit system.

- -

In the mean time, check out our upcoming events, below or add to <%= link_to 'our growing priorities list', suggestions_actions_path %>:

diff --git a/config/routes.rb b/config/routes.rb index 8409e1a..53a2c89 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -32,8 +32,6 @@ root :controller => "information", :action => "index" - resources :supporters, :collection => {:thank_you => :get} - get 'possibilities' => 'information#possibilities', as: 'possibilities_information' get 'people' => 'information#people', as: 'people_information' get 'problems' => redirect('possibilities') diff --git a/spec/examples.txt b/spec/examples.txt index 8c28e45..30001bf 100644 --- a/spec/examples.txt +++ b/spec/examples.txt @@ -1,13 +1,12 @@ example_id | status | run_time | -------------------------------------------------------- | ------ | --------------- | -./spec/controllers/actions_controller_spec.rb[1:1:1] | passed | 0.00951 seconds | -./spec/controllers/actions_controller_spec.rb[1:2:1] | passed | 0.02281 seconds | -./spec/controllers/information_controller_spec.rb[1:1:1] | passed | 0.01442 seconds | -./spec/controllers/information_controller_spec.rb[1:2:1] | passed | 0.0161 seconds | -./spec/controllers/information_controller_spec.rb[1:3:1] | passed | 0.01049 seconds | -./spec/models/blog_post_spec.rb[1:1:1] | passed | 0.00076 seconds | -./spec/models/blog_post_spec.rb[1:2:1] | passed | 0.00019 seconds | -./spec/models/blog_post_spec.rb[1:3:1] | passed | 0.00097 seconds | -./spec/models/blog_post_spec.rb[1:4:1] | passed | 0.00024 seconds | -./spec/models/blog_post_spec.rb[1:5:1] | passed | 0.00195 seconds | -./spec/requests/deprectated_routes_spec.rb[1:1:1] | passed | 0.00644 seconds | +./spec/controllers/actions_controller_spec.rb[1:1:1] | passed | 0.0088 seconds | +./spec/controllers/information_controller_spec.rb[1:1:1] | passed | 0.01974 seconds | +./spec/controllers/information_controller_spec.rb[1:2:1] | passed | 0.04721 seconds | +./spec/controllers/information_controller_spec.rb[1:3:1] | passed | 0.01196 seconds | +./spec/models/blog_post_spec.rb[1:1:1] | passed | 0.00093 seconds | +./spec/models/blog_post_spec.rb[1:2:1] | passed | 0.00161 seconds | +./spec/models/blog_post_spec.rb[1:3:1] | passed | 0.00179 seconds | +./spec/models/blog_post_spec.rb[1:4:1] | passed | 0.00019 seconds | +./spec/models/blog_post_spec.rb[1:5:1] | passed | 0.00138 seconds | +./spec/requests/deprectated_routes_spec.rb[1:1:1] | passed | 0.00391 seconds |