Sha256: ec37aad29a2d9110ccab3cd49e45ae479cd8558d05a31411869522961842ed31

Contents?: true

Size: 910 Bytes

Versions: 4

Compression:

Stored size: 910 Bytes

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"+blogelator/routes/posts_index_route.js;FI"
pathname;TI"l/Users/brian/github/codelation/blogelator/app/assets/javascripts/blogelator/routes/posts_index_route.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+ÏŸSI"length;Ti•I"digest;TI"%6b00f2d1f4c2f08624a2967101a18fb8;FI"source;TI"•(function() {
  "use strict";
  
  App.PostsIndexRoute = Ember.Route.extend({
    afterModel: function(posts) {
      if (posts.get('length') > 0) {
        this.transitionTo('posts.show', posts.objectAt(0));
      }
    },
    
    renderTemplate: function() {
      this.render();
      this.render('posts/_footer', {
        into: 'application',
        outlet: 'footer'
      });
    }
  });
  
})();
;TI"required_assets_digest;TI"%ef7877e5cb1c35ad890a32d6ff2b6335;FI"
_version;TI"%a56df69ef97ba4d9f1a23bf9b0add58a;F

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
blogelator-0.2.4 spec/dummy/tmp/cache/assets/development/sprockets/292a4cc1ea9e79b14723bcdfee877f3d
blogelator-0.2.4 spec/dummy/tmp/cache/assets/development/sprockets/cc0fd9cf6eb1a82ae9b2b8ad81244035
blogelator-0.2.3 spec/dummy/tmp/cache/assets/development/sprockets/292a4cc1ea9e79b14723bcdfee877f3d
blogelator-0.2.3 spec/dummy/tmp/cache/assets/development/sprockets/cc0fd9cf6eb1a82ae9b2b8ad81244035