Przeglądaj źródła

add link on item when edit=list

Thomas 14 lat temu
rodzic
commit
e3f5f38b68
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      Controller/CoreController.php

+ 2 - 0
Controller/CoreController.php

@@ -169,6 +169,8 @@ class CoreController extends Controller
             }
         }
 
+        $description = sprintf('<a href="%s" target="new">%s</a>', $admin->generateUrl('edit', array('id' => $object_id)), $description);
+
         return $this->createResponse($description);
     }