diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index 427ef803f..ca6c3b743 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -1,6 +1,6 @@ class PagesController < ApplicationController # No authorization required for entirely public controller - before_action :set_cache_control_headers, only: %i[show rlyweb now survey badge bounty faq robots] + before_action :set_cache_control_headers, only: %i[show rlyweb now badge bounty faq robots] def show @page = Page.find_by!(slug: params[:slug]) @@ -11,10 +11,6 @@ class PagesController < ApplicationController set_surrogate_key_header "now_page" end - def survey - set_surrogate_key_header "survey_page" - end - def about @page = Page.find_by(slug: "about") render :show if @page diff --git a/app/views/pages/survey.html.erb b/app/views/pages/survey.html.erb deleted file mode 100644 index 18e213388..000000000 --- a/app/views/pages/survey.html.erb +++ /dev/null @@ -1,49 +0,0 @@ -<% title "State of the Web Survey" %> - -<%= content_for :page_meta do %> - - - - - - - - - - - - - - - - -<% end %> - -
-Thank you for taking five minutes to fill out this DEV Community survey.
-All responses are 100% private. ❤️ -
-
We are launching regular workshops that will cover beginner to advanced topics and everything in-between. These will be taught by topic experts from the community. Topics we plan on covering early include - web performance, Kubernetes, mechanical keyboards and much more.
- -Workshops are available to dev.to - sustaining members with workshop passes. For those unable to become a sustaining member, we encourage you to apply for a - scholarship.
- -February workshops will be announced soon.
-