From e0982889b520c73282419c9adb424d82dd42a98e Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 1 Oct 2008 06:44:56 +0000 Subject: [PATCH] BUGFIX AssetAdmin->Link() returned a trailing slash that was not necessary. See ticket #2884 git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63457 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/AssetAdmin.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/AssetAdmin.php b/code/AssetAdmin.php index 655cbac0..97c49c5a 100755 --- a/code/AssetAdmin.php +++ b/code/AssetAdmin.php @@ -40,9 +40,7 @@ class AssetAdmin extends LeftAndMain { ); public function Link($action = null) { - //if(!$action) $action = "index"; - //return "admin/assets/$action/" . $this->currentPageID(); - return "admin/assets/$action/"; + return "admin/assets/$action"; } /**