Skip to content

Commit

Permalink
Remove qa to content feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Bevan Loon committed Dec 19, 2018
1 parent f4e2546 commit b65f8b3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions app/controllers/qa_to_content_controller.rb
Expand Up @@ -8,8 +8,6 @@ class QaToContentController < ApplicationController
include GdsApi::Helpers

def show
return error_not_found unless ENV["FINDER_FRONTEND_ENABLE_QA_TO_CONTENT"]

return redirect_to content_url if redirect_to_content?

render "qa_to_content/show"
Expand Down
1 change: 0 additions & 1 deletion spec/controllers/qa_to_content_controller_spec.rb
Expand Up @@ -4,7 +4,6 @@
describe QaToContentController, type: :controller do
include FixturesHelper
render_views
ENV["FINDER_FRONTEND_ENABLE_QA_TO_CONTENT"] = "true"

describe "GET show" do
let(:uk_nationals_in_eu_yaml) { uk_nationals_in_eu_config }
Expand Down

0 comments on commit b65f8b3

Please sign in to comment.