-
Notifications
You must be signed in to change notification settings - Fork 17
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
Remove travel advice rendering code #3426
Conversation
d26026a
to
87957d8
Compare
87957d8
to
b9acc6b
Compare
config/routes.rb
Outdated
@@ -30,7 +30,6 @@ | |||
|
|||
get "*path(.:locale)(.:format)" => "content_items#show", |
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.
I think if the only format allowed was atom, we can also remove the optional format from line 31?
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.
DONE! And fixed up.
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.
One small note, but otherwise looks good!
b9acc6b
to
25baa25
Compare
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.
LGTM
Also removes example urls from dev controller.
This component was only being used by the travel advice pages and is no longer needed. It has been moved to frontend.
Atom feeds are only available on travel advice pages. As these pages are being moved to frontend, the entire atom feed set-up can be removed as well. Also updates the controller tests to remove travel advice examples
25baa25
to
0d2d964
Compare
Trello card
Dependent on:
What's changed?
Removes the rendering code for travel advice country pages.
Why?
Travel advice rendering is being moved to frontend as of PR alphagov/frontend#4225 so this code will be obsolete.
Follow these steps if you are doing a Rails upgrade.