aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/admin_request/show.rhtml6
-rw-r--r--app/views/admin_track/_some_tracks.rhtml2
-rw-r--r--app/views/admin_track/list.rhtml2
3 files changed, 5 insertions, 5 deletions
diff --git a/app/views/admin_request/show.rhtml b/app/views/admin_request/show.rhtml
index fac1e3e4c..def158d67 100644
--- a/app/views/admin_request/show.rhtml
+++ b/app/views/admin_request/show.rhtml
@@ -57,7 +57,7 @@
<%= link_to("<i class='icon-eye-open'></i>".html_safe, @info_request.external_url, :title => "view URL of original request on external website") %>
<%= @info_request.public_body.name %> on behalf of <%= (@info_request.user_name || _('an anonymous user'))%> (using API)
<% else %>
- <%= link_to("<i class='icon-eye-open'></i>".html_safe, user_url(@info_request.user), :title => "view user's page on public website") %>
+ <%= link_to("<i class='icon-eye-open'></i>".html_safe, user_path(@info_request.user), :title => "view user's page on public website") %>
<%= user_admin_link_for_request(@info_request) %>
<%= link_to _("move..."), "#", :class => "btn btn-mini btn-warning toggle-hidden" %>
<div style="display:none;">
@@ -344,9 +344,9 @@
<tbody>
<tr>
<td colspan="2">
- By <%= link_to("<i class='icon-eye-open'></i>".html_safe, user_url(comment.user), :title => "view user's page on public website") %>
+ By <%= link_to("<i class='icon-eye-open'></i>".html_safe, user_path(comment.user), :title => "view user's page on public website") %>
- <%= link_to(h(comment.user.name), admin_user_show_url(comment.user)) %>
+ <%= link_to(h(comment.user.name), admin_user_show_path(comment.user)) %>
</td>
</tr>
<% comment.for_admin_column do |name, value, type, column_name |%>
diff --git a/app/views/admin_track/_some_tracks.rhtml b/app/views/admin_track/_some_tracks.rhtml
index d79a8c757..8ae7bd5c1 100644
--- a/app/views/admin_track/_some_tracks.rhtml
+++ b/app/views/admin_track/_some_tracks.rhtml
@@ -52,7 +52,7 @@
<%= I18n.l(track_thing.send(column.name), :format => "%e %B %Y %H:%M:%S") %>
(<%= _('{{length_of_time}} ago', :length_of_time => time_ago_in_words(track_thing.send(column.name))) %>)
<% elsif column.name == 'track_medium' and track_thing.track_medium == 'feed' %>
- <%= link_to track_thing.track_medium, atom_feed_url(:track_id => track_thing.id) %>
+ <%= link_to track_thing.track_medium, atom_feed_path(:track_id => track_thing.id) %>
<% else %>
<%= h track_thing.send(column.name)%>
<% end %>
diff --git a/app/views/admin_track/list.rhtml b/app/views/admin_track/list.rhtml
index 2c9ee9ed7..f40ad4e75 100644
--- a/app/views/admin_track/list.rhtml
+++ b/app/views/admin_track/list.rhtml
@@ -14,7 +14,7 @@
<h2>Current top tracks:</h2>
<ol>
<% for row in @popular %>
- <li><%= link_to row['title'], admin_request_show_url(row['info_request_id']) %> (<%= row['count'] %> people following)</li>
+ <li><%= link_to row['title'], admin_request_show_path(row['info_request_id']) %> (<%= row['count'] %> people following)</li>
<% end %>
</ol>