-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CPDLP-3815] NPQ Post Separation Cleanup - Remove NPQ API disable feature flag from ECF #5372
Changes from all commits
60f9919
5cf94aa
4f7753f
031aa5b
f77aca1
16dcfa4
766f7ee
94e1107
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
require "npq_api_endpoint" | ||
|
||
Rails.application.routes.draw do | ||
mount_sidekiq = -> { mount Sidekiq::Web => "/sidekiq" } | ||
authenticate(:user, :admin?.to_proc, &mount_sidekiq) | ||
|
@@ -198,7 +196,6 @@ | |
# Keeping the urls to old guidance urls, but they need to lead to new api-reference ones | ||
get "/guidance/home", to: redirect("/api-reference") | ||
get "/guidance/ecf-usage", to: redirect("/api-reference/ecf-usage") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A bunch of these other pages don't seem to exist either, we should maybe ditch the redirects at some point. There are also some translations we could bin here https://github.com/DFE-Digital/early-careers-framework/blob/main/config/locales/en.yml#L600 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think let's keep the other redirects for now as not sure about those for now and they are not NPQ related. |
||
get "/guidance/npq-usage", to: redirect("/api-reference/npq-usage"), constraints: NpqApiEndpoint | ||
get "/guidance/reference", to: redirect("/api-reference/reference") | ||
get "/guidance/release-notes", to: redirect("/api-reference/release-notes") | ||
get "/guidance/help", to: redirect("/api-reference/help") | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we not want to keep this? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree to keep
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, will change this, i saw it on Leandro's PR👍