Skip to content

Controller needs error #52

Description

@QuantumKing

I have this:

App = Ember.Application.create({
  Socket: EmberSockets.extend({
    host: window.location.hostname,
    port: window.location.port,
    secure: window.location.protocol === 'https:',
    controllers: ['patientsIndex', 'patient'],
    autoConnect: true
  })
});

Each controller has a "needs: ['patients']". This causes an error:

Uncaught Error: <App.PatientsIndexController:ember484> needs [ controller:patients ] but it could not be found.

How do I get around this?

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