Sha256: cbb131706d35730c54d0d7d907e27585843b5bf9ca998aa64cd8b3d1d308d67c

Contents?: true

Size: 339 Bytes

Versions: 5

Compression:

Stored size: 339 Bytes

Contents

App.Router.map ->
  this.route('index', { path: '/'})
      
App.IndexRoute = Ember.Route.extend
  setupController: (controller, model) ->
    #object =
    #  param: value
    #if your controller takes parameters to bootstrap itself you can set it up here
    #controller.prepareData(object)
  model: (params) ->
    #return a model here

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mes-0.2.3 lib/middleman_ember_scaffold/template/source/app/routes.coffee
mes-0.2.2 lib/middleman_ember_scaffold/template/source/app/routes.coffee
mes-0.2.1 lib/middleman_ember_scaffold/template/source/app/routes.coffee
mes-0.1.1 lib/middleman_ember_scaffold/template/source/app/routes.coffee
mes-0.1.0 lib/middleman_ember_scaffold/template/source/app/routes.coffee