fix post crud
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
namespace app\tables\columns;
|
||||
|
||||
use app\helpers\Debug;
|
||||
use Itguild\Tables\ActionColumn\ActionColumn;
|
||||
|
||||
class UserDeleteActionColumn extends ActionColumn
|
||||
@ -10,7 +11,6 @@ class UserDeleteActionColumn extends ActionColumn
|
||||
|
||||
public function fetch(): string
|
||||
{
|
||||
// $link = $this->baseUrl . $this->prefix . $this->id . $this->prefix . "update";
|
||||
$link = $this->baseUrl . $this->prefix . "delete" . $this->prefix . $this->id;
|
||||
return " <a href='$link' class='btn btn-danger'>Удалить</a> ";
|
||||
}
|
||||
|
Reference in New Issue
Block a user