diff --git a/app/views/rubriken/index.html.erb b/app/views/rubriken/index.html.erb
index a164f1a..285fc2c 100755
--- a/app/views/rubriken/index.html.erb
+++ b/app/views/rubriken/index.html.erb
@@ -40,7 +40,7 @@
<%= render 'calendars/calentries', :object=>@calentries %>
<% end %>
<% if current_user.has_role?(:fetuser) %>
- <%= link_to calendars_path(:format=>:ics, :key=>Key.find_or_create(current_user,1).uuid) , calendars_path(:format=>:ics, :key=>Key.find_or_create(current_user,1).uuid)%>
+ <%= link_to calendars_url(:format=>:ics, :key=>Key.find_or_create(current_user,1).uuid) , calendars_path(:format=>:ics, :key=>Key.find_or_create(current_user,1).uuid)%>
<% end %>
diff --git a/app/views/rubriken/show.html.erb b/app/views/rubriken/show.html.erb
index 5e9f274..160c97b 100755
--- a/app/views/rubriken/show.html.erb
+++ b/app/views/rubriken/show.html.erb
@@ -53,7 +53,7 @@
<% end %>
<% end %>
<% if current_user.has_role?(:fetuser) %>
- <%= link_to calendar_path(@rubrik.calendar,:format=>:ics, :key=>Key.find_or_create(current_user,1).uuid) , calendars_path(:format=>:ics, :key=>Key.find_or_create(current_user,1).uuid)%>
+ <%= link_to calendar_url(@rubrik.calendar,:format=>:ics, :key=>Key.find_or_create(current_user,1).uuid) , calendars_path(:format=>:ics, :key=>Key.find_or_create(current_user,1).uuid)%>
<% end %>