diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-03-08 12:35:32 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-03-08 12:45:39 +1100 |
commit | ed9ef6b0f164722911bf316ab7e7043556ce6a21 (patch) | |
tree | 537d47e16719427e058d66fed3dd7349c27ff215 | |
parent | b1654f6af02ebe10c6d4d9c2afc465a280aae984 (diff) |
Inline helper method
-rw-r--r-- | app/views/admin_request/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin_request/show.rhtml b/app/views/admin_request/show.rhtml index e5c6954eb..a25ad25c4 100644 --- a/app/views/admin_request/show.rhtml +++ b/app/views/admin_request/show.rhtml @@ -58,7 +58,7 @@ <%= @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") %> - <%= user_admin_link_for_request(@info_request) %> + <%= link_to(h(@info_request.user.name), admin_user_show_url(@info_request.user)) %> <%= link_to _("move..."), "#", :class => "btn btn-mini btn-warning toggle-hidden" %> <div style="display:none;"> <strong>url_name of new user:</strong> |