Skip to content

Commit

Permalink
Fix one more use of histories/view
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed May 3, 2018
1 parent a8fe9a7 commit 3829b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/display_common.mako
Expand Up @@ -149,7 +149,7 @@
%if history.slug and history.user.username:
<% return h.url_for( controller='/history', action='display_by_username_and_slug', username=history.user.username, slug=history.slug, qualified=qualify ) %>
%else:
<% return h.url_for( controller='/history', action='view', id=trans.security.encode_id( history.id ), qualified=qualify, use_panels=context.get('use_panels', True) ) %>
<% return h.url_for("/histories/view", id=trans.security.encode_id( history.id ), qualified=qualify) %>
%endif
</%def>

Expand Down

0 comments on commit 3829b07

Please sign in to comment.