Skip to content

Commit

Permalink
Full path for short_url on admin page index
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick Francois committed Sep 5, 2013
1 parent 8092954 commit 523c8e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/admin/base_helper.rb
Expand Up @@ -93,7 +93,7 @@ def cancel_or_save(message=_("Save"))

def get_short_url(item)
return "" if item.short_url.nil?
sprintf(content_tag(:small, "%s %s"), _("Short url:"), link_to(item.short_url, item.short_url))
sprintf(content_tag(:small, "%s %s"), _("Short url:"), link_to(item.short_url, item.short_url, only_path: false))
end

def show_actions item
Expand Down

0 comments on commit 523c8e9

Please sign in to comment.