Sha256: ec3863003049e64172f9885c3fb53f518889079c6b127aed258e5eb975b8b26e

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"3hyper_admin/angularjs/controllers/show_ctrl.js;FI"
pathname;TI"u/home/sindre/Code/hyper/hyper_admin/app/assets/javascripts/hyper_admin/angularjs/controllers/show_ctrl.js.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+<¯TI"length;TiI"digest;TI"%e6e7c978f6999ea358dbf78ab13eaa9b;FI"source;TI"(function() {
  angular.module("hyperadmin").controller("ShowCtrl", function($state, Restangular) {
    this.resource_class = $state.current.data.resource;
    Restangular.one("admin/" + this.resource_class.plural, $state.params.id).get().then((function(_this) {
      return function(resource) {
        return _this.resource = Restangular.stripRestangular(resource);
      };
    })(this));
    this.template = function(attribute) {
      return "show-" + attribute.type;
    };
    return this;
  });

}).call(this);
;TI"required_assets_digest;TI"%e3cf5ed09bb51d5ab29adb8c81e6a57f;FI"
_version;TI"%3e3098c8a5e9a7f3b984ba95ac600637;F

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hyper_admin-0.2.0 spec/dummy/tmp/cache/assets/development/sprockets/f8118ba169e2aa16e9a6cc1f0df9b732
hyper_admin-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/f8118ba169e2aa16e9a6cc1f0df9b732