Sha256: eee79923fd76d4918af0d693d356d7c3572621350e36c246df03ccf1ad1470aa

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

Volontariat.CommunitiesRoute = Ember.Route.extend
  model: (params) ->
    @controllerFor('communities').set 'page', parseInt(params.page)

    @store.query 'community', page: params.page
    
  setupController: (controller, model) ->
    controller.send('goToPageWithoutRedirect', controller.get('page'))
    controller.set('model', model)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voluntary_feedback-0.1.0 app/assets/javascripts/voluntary_feedback/routes/community/communities_route.js.coffee