Skip to content

Instantly share code, notes, and snippets.

View MiracleBlue's full-sized avatar

Nicholas Kircher MiracleBlue

  • Founder & CEO, CommaDash Pty Ltd
  • Melbourne, Australia
  • 19:53 (UTC +10:00)
View GitHub Profile
`import Ember from 'ember'`
IndexController = Ember.ObjectController.extend
needs: ['application']
actions:
hasProjects: (->
@get('model.length') > 0
).property('model.length')
`export default IndexController`