Fix main route
parent
a234ca49d4
commit
ee274ebf7f
|
@ -11,7 +11,7 @@ return [
|
||||||
'path' => '',
|
'path' => '',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
['name' => 'page#main', 'url' => '/favorites', 'verb' => 'GET'],
|
['name' => 'page#favorites', 'url' => '/favorites', 'verb' => 'GET'],
|
||||||
|
|
||||||
// API
|
// API
|
||||||
['name' => 'api#days', 'url' => '/api/days', 'verb' => 'GET'],
|
['name' => 'api#days', 'url' => '/api/days', 'verb' => 'GET'],
|
||||||
|
|
|
@ -69,4 +69,12 @@ class PageController extends Controller {
|
||||||
public function folder() {
|
public function folder() {
|
||||||
return $this->main();
|
return $this->main();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @NoAdminRequired
|
||||||
|
* @NoCSRFRequired
|
||||||
|
*/
|
||||||
|
public function favorites() {
|
||||||
|
return $this->main();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue