Sha256: 30b4135de648bc64f770b05e6e4208bd9544416342d4d98e9697ee427f878d00
Contents?: true
Size: 875 Bytes
Versions: 16
Compression:
Stored size: 875 Bytes
Contents
Dashboard.ContributionsIndexRoute = Dashboard.AuthenticatedRoute.extend redirect: -> @transitionTo('contributions.tab', 'pending') Dashboard.ContributionsTabRoute = Dashboard.AuthenticatedRoute.extend breadcrumbs: false title: Ember.I18n.t('titles.contributions.index') renderTemplate: -> @render('contributions/index') model: (params)-> filter = {} filter[params['filter']] = true @store.findQuery('contribution', filter) actions: refresh: -> @refresh() show: (contribution)-> controller = @controllerFor('contributions.show') controller.set('model', contribution) @render('contributions/show', outlet: 'modal', controller: controller) Dashboard.ContributionsSearchRoute = Dashboard.ContributionsTabRoute.extend Dashboard.SearchableRoute, baseRouteName: 'contributions' resourceName: 'contribution'
Version data entries
16 entries across 16 versions & 1 rubygems