Sha256: c1996fd11ecd1319a69f9ac6ef49651786cafc65135a18afa2f7a1d83428176b

Contents?: true

Size: 263 Bytes

Versions: 16

Compression:

Stored size: 263 Bytes

Contents

Dashboard.ChannelSerializer = DS.ActiveModelSerializer.extend DS.EmbeddedRecordsMixin,
  attrs:
    user:
      embedded: 'always'

  keyForRelationship: (key, type) ->
    if @_super(key, type) == 'user'
      'user_attributes'
    else
      @_super(key, type)

Version data entries

16 entries across 16 versions & 1 rubygems

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