title: Ember Mixin undefined in controller
body: <p>May be a silly question, but can't seem to get this right. I have some actions that I'd like to share across two controllers, so I'd like to define them in a mixin and then include them in the controllers. My syntax matches what I've seen in the guides:</p>
  
  <p>mixins/shared.js.coffee</p>
  
  <pre><code>Dashboard.Shared = Ember.Mixin.create
    actions:
      showTab: (tab) -&gt;
        //handle action here
  </code></pre>
  
  <p>controllers/messages/messages_contacts_show_controller.js.coffee</p>
  
  <pre><code>Dashboard.MessagesContactsShowController = Ember.ObjectController.extend Dashboard.Shared,
  </code></pre>
  
  <p>Upon loading the app, I have this error:</p>
  
  <pre><code>Uncaught Error: Assertion Failed: Expected hash or Mixin instance, got [object Undefined] 
  </code></pre>
  
  <p>I'm not sure how to load this mixin before the controller since my files are separate (ref: <a href="https://stackoverflow.com/questions/18157171/what-is-the-correct-way-to-use-coffeescript-with-ember%C2%B4s-mixins)--I">what is the correct way to use coffeescript with ember&#180;s Mixins?</a>'ve tried importing it but keep getting "reserved word" errors from coffeescript.</p>
  
  <pre><code>import { Shared } from './mixins/shared'
  </code></pre>
  
  <p>and</p>
  
  <pre><code>import Shared from "./mixins/shared"
  </code></pre>
  
  <p>What's the proper way to get a mixin to load before the controllers it will be used in??</p>
  
  <p>I'm using Ember 1.8.1</p>