diff --git a/app/helpers/admin/base_helper.rb b/app/helpers/admin/base_helper.rb index 2c12fb9a0f..49f9217720 100644 --- a/app/helpers/admin/base_helper.rb +++ b/app/helpers/admin/base_helper.rb @@ -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