Explorar o código

add link on item when edit=list

Thomas %!s(int64=14) %!d(string=hai) anos
pai
achega
e3f5f38b68
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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);
     }