mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#40 fixed => Adding ad via admin panel doesn't work
This commit is contained in:
parent
11f15861da
commit
675c844e22
@ -28,10 +28,7 @@ class AdvsModule extends Module
|
||||
'advs' => [
|
||||
'buttons' => [
|
||||
'new_adv' => [
|
||||
// 'href' => "/advs/create_adv",
|
||||
// 'data-toggle' => 'modal',
|
||||
// 'data-target' => '#modal',
|
||||
// 'href' => 'admin/advs/categories/choose',
|
||||
'href' => "/advs/create_adv",
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
@ -58,7 +58,9 @@ class AdvsController extends AdminController
|
||||
}
|
||||
},
|
||||
],
|
||||
'edit'
|
||||
'edit' => [
|
||||
'href' => '/advs/edit_advs/{entry.id}',
|
||||
]
|
||||
]);
|
||||
|
||||
$table->setColumns([
|
||||
|
||||
Loading…
Reference in New Issue
Block a user