... | ... |
@@ -92,13 +92,11 @@ |
92 | 92 |
<updated><%= $commits->[0]->{updated} %></updated> |
93 | 93 |
|
94 | 94 |
% for my $commit (@$commits) { |
95 |
- % my $author_url = url_for; |
|
96 |
- % $author_url->path->parts([$user]); |
|
97 |
- % my $entry_alternate_url = url_for; |
|
98 |
- % $entry_alternate_url->path->parts([$user, $project, 'commit', $commit->{id}]); |
|
95 |
+ % my $entry_alternate_url = url_for("/$user/$project/commit/$commit->{id}"); |
|
96 |
+ % my $author_url = url_for("/$user"); |
|
99 | 97 |
<entry> |
100 | 98 |
<id>tag:gitprep,2008:Grit::Commit/<%= $commit->{id} %></id> |
101 |
- <link type="text/html" rel="alternate" href="<%= $entry_alternate_url->to_abs %>"/> |
|
99 |
+ <link type="text/html" rel="alternate" href="<%= $entry_alternate_url->to_abs %>" /> |
|
102 | 100 |
<title> |
103 | 101 |
<%= $commit->{title} %> |
104 | 102 |
</title> |