-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run as defaultApp #50
Labels
Milestone
Comments
Yeah well this app just does not support to be a default app, because it doesn't have a frontpage |
Thank you for your response! I need the url with external/1 as frontpage.
Is it possible? I really need that feature!
I tried this:
['name' => 'page#showPage', 'url' => '/{id}', 'verb' => 'GET', 'defaults' => array('id' => 1)]
But it is not working
Thank you very much!
Michael
… Am 30.08.2017 um 13:48 schrieb Joas Schilling ***@***.***>:
Yeah well this app just does not support to be a default app, because it doesn't have a frontpage
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#50 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AGLTD5QWCQcu3Zk7mKwVeuFwnSL23Jedks5sdUwZgaJpZM4PGqcY>.
|
Found a solution!
'routes' => [
['name' => 'page#showPage', 'url' => '/{id}', 'verb' => 'GET', 'defaults' => array('id' => 1)],
['name' => 'page#showPage', 'url' => '/', 'verb' => 'GET', 'defaults' => array('id' => 1)],
is working 4 me
… Am 30.08.2017 um 13:48 schrieb Joas Schilling ***@***.***>:
Yeah well this app just does not support to be a default app, because it doesn't have a frontpage
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#50 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AGLTD5QWCQcu3Zk7mKwVeuFwnSL23Jedks5sdUwZgaJpZM4PGqcY>.
|
Well that will only work until you delete the first page at any later time, then ID 1 will not be reused and therefor the link will be dead again... |
FYI I fixed this in ownCloud, I'll try and submit a PR to nextcloud soon: owncloud/core#28962 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
I Think its a routing problem.
After login the URL should be something like external/1 but it is external/ thats the Problem
The text was updated successfully, but these errors were encountered: