From 523c8e938c7628b8426370dcb885a3ec714f39af Mon Sep 17 00:00:00 2001 From: Yannick Francois Date: Thu, 5 Sep 2013 23:26:33 +0200 Subject: [PATCH] Full path for short_url on admin page index --- app/helpers/admin/base_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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