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