Injecting mixins


#1

So - continuing my learning - I am now trying to inject in mixins for controllers!

I have pushed my code to https://github.com/wayne-o/ember-cli-bootstrap.git

Thing is - it’s not working! I get:

Error while processing route: index Failed to create an instance of 'search:event'. Most likely an improperly defined class or an invalid module export. Error: Failed to create an instance of 'search:event'. Most likely an improperly defined class or an invalid module export.

Bonus points if anyone can figure out how to hide the search panel on load :smile:


#2

Arrrr - I think I have it!

Mixins are mixins - they aren’t injected right!!


#3

Yuhp -that fixed it!