Skip to content

Commit

Permalink
Fixes atom feed for news.
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed May 1, 2014
1 parent aaab90c commit f03f54e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion News.md
Expand Up @@ -8,7 +8,7 @@ Date: 2014-04-15T21:10:10
In this news feed you can follow the development of the MetaCPAN site.
There is also an [Atom feed](/feed/news).

If you are interested in how the news feed itself wass implemented, check out
If you are interested in how the news feed itself was implemented, check out
the article [Adding a News Feed to
MetaCPAN](http://perlmaven.com/adding-news-feed-to-metacpan)

2 changes: 1 addition & 1 deletion lib/MetaCPAN/Web/Controller/Feed.pm
Expand Up @@ -26,7 +26,7 @@ sub recent : Chained('index') PathPart Args(0) {
sub news : Chained('index') PathPart Args(0) {
my ( $self, $c ) = @_;

my $file = $c->config->{home} . '/News';
my $file = $c->config->{home} . '/News.md';
my $news = path($file)->slurp_utf8;
$news =~ s/^\s+|\s+$//g;
my @entries;
Expand Down

0 comments on commit f03f54e

Please sign in to comment.