Sha256: d22eaf8ba63b990df678d7fc226a1395ad0681e48135f8456d0654ee120339aa

Contents?: true

Size: 572 Bytes

Versions: 1

Compression:

Stored size: 572 Bytes

Contents

TentStatus.Routers.followings = new class FollowingsRouter extends TentStatus.Router
  routerKey: 'followings'

  routes:
    "followings" : "index"

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

Version data entries

1 entries across 1 versions & 1 rubygems

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