LearnNewsExamplesServices
Frontmatter
id5157
titlecontroller.Base: using default inside routes breaks
stateClosed
labels
bug
assigneesThorstenRaab
createdAtDec 5, 2023, 7:53 PM
updatedAtDec 7, 2023, 9:01 PM
githubUrlhttps://github.com/neomjs/neo/issues/5157
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtDec 7, 2023, 9:01 PM

controller.Base: using default inside routes breaks

Closed v8.1.0 bug
tobiu
tobiu commented on Dec 5, 2023, 7:53 PM

use case:

        routes: {
            '/home'  : 'onHomeRoute',
            '/learn' : 'onLearnRoute',
            'default': 'onHomeRoute'
        }

result:

Screenshot 2023-12-05 at 19 51 42

tobiu added the bug label on Dec 5, 2023, 7:53 PM
tobiu assigned to @ThorstenRaab on Dec 5, 2023, 7:53 PM
ThorstenRaab
ThorstenRaab Dec 6, 2023, 1:57 PM

let us discuss. Currently 'default' is an own property defaultRoute.

tobiu closed this issue on Dec 7, 2023, 9:01 PM