File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 39
39
use App \Actions \Catalogue \Product \UpdateProduct ;
40
40
use App \Actions \Catalogue \Product \ImportProducts ;
41
41
use App \Actions \UI \Organisation \Profile \UpdateProfile ;
42
+ use App \Actions \Web \Webpage \PublishWebpage ;
42
43
use App \Actions \Web \Webpage \ShowWebpageContent ;
43
44
use App \Actions \Web \Webpage \StoreArticle ;
44
45
use App \Actions \Web \Webpage \StoreWebpage ;
121
122
Route::prefix ('webpage ' )->as ('webpage. ' )->group (function () {
122
123
Route::post ('{webpage:id} ' , StoreWebpage::class)->name ('store ' );
123
124
Route::post ('{webpage:id}/content ' , UpdateWebpageContent::class)->name ('content.update ' );
125
+ Route::post ('{webpage:id}/publish ' , PublishWebpage::class)->name ('content.publish ' );
126
+
124
127
Route::get ('{webpage:id}/content ' , ShowWebpageContent::class)->name ('content.show ' );
125
128
126
129
//Route::patch('{webpage:id}', UpdateWebsite::class)->name('update');
You can’t perform that action at this time.
0 commit comments