Skip to content

Link-tos to generated route redirects throw error #13

@elwayman02

Description

@elwayman02

Steps to reproduce:

  1. Add the following to the dummy app:
    {{#link-to 'generated'}}Generated{{/link-to}}
  2. Run ember s
  3. Click the link and observer the following error:
    Uncaught TypeError: Cannot read property 'split' of undefined
    which occurs in this method snippet:
function findChildRouteName(parentRoute, originatingChildRoute, name) {
    var router = parentRoute.router;
    var childName;
    var targetChildRouteName = originatingChildRoute.routeName.split('.').pop();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions