#40 fixed => Adding ad via admin panel doesn't work

This commit is contained in:
vedatakd 2019-07-12 17:37:56 +03:00
parent 11f15861da
commit 675c844e22
2 changed files with 4 additions and 5 deletions

View File

@ -28,10 +28,7 @@ class AdvsModule extends Module
'advs' => [ 'advs' => [
'buttons' => [ 'buttons' => [
'new_adv' => [ 'new_adv' => [
// 'href' => "/advs/create_adv", 'href' => "/advs/create_adv",
// 'data-toggle' => 'modal',
// 'data-target' => '#modal',
// 'href' => 'admin/advs/categories/choose',
], ],
], ],
], ],

View File

@ -58,7 +58,9 @@ class AdvsController extends AdminController
} }
}, },
], ],
'edit' 'edit' => [
'href' => '/advs/edit_advs/{entry.id}',
]
]); ]);
$table->setColumns([ $table->setColumns([