Skip to content

Commit 9c8e023

Browse files
committed
Tidy
1 parent b4adb58 commit 9c8e023

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/MetaCPAN/Web/Controller/Feed.pm

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ sub recent : Private {
5858
);
5959
}
6060

61-
6261
sub author_rss : Chained('/author/root') PathPart('activity.rss') Args(0) {
6362
$_[1]->detach( 'author', ['rss'] );
6463
}
@@ -250,7 +249,6 @@ sub end : Private {
250249
$c->detach('/end')
251250
if !$feed;
252251

253-
254252
# This will only affect if `cdn_max_age` has been set.
255253
# https://www.fastly.com/documentation/guides/concepts/edge-state/cache/stale/
256254
# If it has then do revalidation in the background
@@ -259,7 +257,6 @@ sub end : Private {
259257
# And if there is still an error serve from cache
260258
$c->cdn_stale_if_error('1y');
261259

262-
263260
$c->res->content_type(
264261
$feed->isa('XML::FeedPP::Atom')
265262
? 'application/atom+xml; charset=UTF-8'

0 commit comments

Comments
 (0)