Sha256: a2e1afa342086c132bafb40d3cd2c23f57cb33e7a799621f46154ee830abef8c

Contents?: true

Size: 636 Bytes

Versions: 16

Compression:

Stored size: 636 Bytes

Contents

Dashboard.ProjectsIndexRoute = Dashboard.AuthenticatedRoute.extend
  redirect: ->
    @transitionTo('projects.tab', 'online')

Dashboard.ProjectsTabRoute = Dashboard.AuthenticatedRoute.extend
  breadcrumbs: false
  title: Ember.I18n.t('titles.projects.index')

  renderTemplate: ->
    @render('projects/index')

  model: (params)->
    filter = { manageable: true }
    filter[params['filter']] = true
    @store.findQuery('project', filter)

  actions:
    refresh: ->
      @refresh()

Dashboard.ProjectsSearchRoute = Dashboard.ProjectsTabRoute.extend Dashboard.SearchableRoute,
  baseRouteName: 'projects'
  resourceName: 'project'

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dune-dashboard-1.1.5 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.1.4 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.1.3 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.1.2 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.1.1 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.1.0 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.0.9 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.0.8 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.0.7 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.0.6 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.0.5 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.0.4 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.0.3 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.0.2 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.0.1 app/assets/javascripts/routes/projects.coffee
dune-dashboard-1.0.0 app/assets/javascripts/routes/projects.coffee