mirror of
https://github.com/Karaka-Management/oms-News.git
synced 2026-01-28 16:18:40 +00:00
Routes files
This commit is contained in:
parent
52c25f936b
commit
21f7087a2f
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
|
||||
$consoleRoutes = [];
|
||||
$moduleRoutes = [];
|
||||
|
|
@ -1,36 +1,28 @@
|
|||
<?php
|
||||
|
||||
$httpRoutes = [
|
||||
return [
|
||||
'^.*/backend/news/dashboard.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\News\Controller:viewNewsDashboard',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/news/article.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\News\Controller:viewNewsArticle',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/news/archive.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\News\Controller:viewNewsArchive',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/news/create.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\News\Controller:viewNewsCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
|
||||
$socketRoutes = [];
|
||||
$moduleRoutes = [];
|
||||
Loading…
Reference in New Issue
Block a user