Fix view skeleton include bug and add RouteURL method.
This commit is contained in:
@@ -14,8 +14,8 @@ class PagesController extends Controller {
|
||||
public static function defineRoutes(): array
|
||||
{
|
||||
return [
|
||||
self::Route( routeUrl: '/', routeName: 'Homepage', routeAction: 'index' ),
|
||||
self::Route( routeUrl: '/test/{string}/baba', routeName: 'test', routeAction: 'test' ),
|
||||
self::Route( routeUrl: '/', routeName: 'home', routeAction: 'index', pageHeadTitle: "Home Page" ),
|
||||
self::Route( routeUrl: '/test/{int}/', routeName: 'test', routeAction: 'test' ),
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user