aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin_request/show.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin_request/show.rhtml')
-rw-r--r--app/views/admin_request/show.rhtml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/admin_request/show.rhtml b/app/views/admin_request/show.rhtml
index c462ef83b..def158d67 100644
--- a/app/views/admin_request/show.rhtml
+++ b/app/views/admin_request/show.rhtml
@@ -23,7 +23,7 @@
<tbody>
<tr>
<th>Public page:</th>
- <td><%= link_to main_url(request_url(@info_request)), main_url(request_url(@info_request)) %></td>
+ <td><%= link_to request_url(@info_request), request_path(@info_request) %></td>
</tr>
<% @info_request.for_admin_column do |name, value, type, column_name|%>
<tr>
@@ -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;">
@@ -74,8 +74,8 @@
<b>Public authority:</b>
</td>
<td>
- <%= link_to("<i class='icon-eye-open'></i>".html_safe, main_url(public_body_url(@info_request.public_body)), :title => "view authority on public website") %>
- <%= link_to(@info_request.public_body.name, public_body_admin_url(@info_request.public_body)) %>
+ <%= link_to("<i class='icon-eye-open'></i>".html_safe, public_body_path(@info_request.public_body), :title => "view authority on public website") %>
+ <%= link_to(@info_request.public_body.name, admin_body_show_path(@info_request.public_body)) %>
<%= link_to "move...", "#", :class => "btn btn-mini btn-warning toggle-hidden" %>
<div style="display:none;">
<strong>url_name of new authority:</strong>
@@ -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), user_admin_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 |%>