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
Delete policy groups frontend parts #2526
Conversation
180b063
to
1b53043
Compare
Rebased to fix conflicts in |
@@ -137,6 +137,7 @@ def external_redirect(path_prefix, target) | |||
resources :ministerial_roles, path: 'ministers', only: [:index, :show], localised: true | |||
resources :people, only: [:index, :show], localised: true | |||
|
|||
# TODO: Remove `:show` when policy group paths can be otherwise generated |
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.
Is there a 'plan' for this to happen?
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.
👍 Looks good to go to me. |
Looks good to me! |
👍 |
* Remove styles and view * Simplify show method in controller, leave in place redirect and test * Leave route in place while we need it to generate paths for content * Update associated tests to look for presence of group in index list, but no longer visit the group itself, as that’s no longer served by Whitehall
We can no longer check the rendered policy group from within Whitehall. Corresponding tests are now performed in the publishing API steps here: https://github.com/alphagov/whitehall/blob/19e8c9c4af711a777ed6e16d933d8 e2b8781c70a/test/unit/presenters/publishing_api_presenters/working_group _test.rb#L43-L51
1b53043
to
4b1d47e
Compare
I've rebased and updated to work in combination with #2552
|
👍 |
Holding off merging as the Whitehall rendering is useful in determining the cause of https://trello.com/c/jdXSYAdf/340-bug-policy-group-broken-content
https://trello.com/c/EksTt8uH/254-7-policy-working-group-migration-delete-whitehall-s-frontend-code-deploy-2-small