views/atom.erb in geminabox-0.4.0 vs views/atom.erb in geminabox-0.5.0
- old
+ new
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Gem in a Box</title>
- <link href="<%= url_for '/atom.xml' %>" rel="self" />
- <link href="<%= url_for '/' %>" />
+ <link href="<%= url '/atom.xml' %>" rel="self" />
+ <link href="<%= url '/' %>" />
<% @gems.each do |name, versions| %>
<entry>
<title><%= name %> (<%= versions.size == 1 ? versions.first : "#{versions.first} - #{versions.last}" %>)</title>
<% versions.each do |version| %>
- <link href="<%= url_for "/gems/#{name}-#{version}.gem" %>" />
+ <link href="<%= url "/gems/#{name}-#{version}.gem" %>" />
<% end %>
</entry>
<% end %>
</feed>