Sha256: 6b53d023f8ff005fbffe4f24f0b67d13f4e8b70a716c6cc2748e849b97ba788b

Contents?: true

Size: 558 Bytes

Versions: 1

Compression:

Stored size: 558 Bytes

Contents

TentStatus.Routers.followers = new class Followers extends TentStatus.Router
  routerKey: 'followers'

  routes:
    "followers" : "index"

  index: =>
    return if TentStatus.guest_authenticated || !TentStatus.authenticated
    @view = new TentStatus.Views.Followers
    @setCurrentAction 'index', =>
      @fetchData 'followers', =>
        { followers: new TentStatus.Paginator( TentStatus.Collections.followers ), loaded: false }
      @fetchData 'groups', =>
        { groups: new TentStatus.Paginator( TentStatus.Collections.groups ), loaded: false }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tent-status-0.0.1 assets/javascripts/routers/followers.js.coffee