spec/dummy/tmp/cache/assets/development/sprockets/5dda74c0c8b6f1468aae30b26a2de87c in hyper_admin-0.2.0 vs spec/dummy/tmp/cache/assets/development/sprockets/5dda74c0c8b6f1468aae30b26a2de87c in hyper_admin-0.3.0

- old
+ new

@@ -1,11 +1,11 @@ -{I" -class:ETI"ProcessedAsset;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) { +{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+=KTI" length;TiI" digest;TI"%db46423a9e4219c586511a64d1c02f05;FI" source;TI"(function() { + angular.module("hyperadmin").controller("ShowCtrl", function($state, Restangular, resourceClass) { + this.resource_class = resourceClass; + Restangular.one("admin/" + resourceClass.plural, $state.params.id).get().then((function(_this) { return function(resource) { return _this.resource = Restangular.stripRestangular(resource); }; })(this)); this.template = function(attribute) { @@ -13,7 +13,6 @@ }; return this; }); }).call(this); -;TI"dependency_digest;TI"%e3cf5ed09bb51d5ab29adb8c81e6a57f;FI"required_paths;T[I"u/home/sindre/Code/hyper/hyper_admin/app/assets/javascripts/hyper_admin/angularjs/controllers/show_ctrl.js.coffee;FI"dependency_paths;T[{I" path;TI"u/home/sindre/Code/hyper/hyper_admin/app/assets/javascripts/hyper_admin/angularjs/controllers/show_ctrl.js.coffee;FI" -mtime;TI"2014-09-16T23:48:05+02:00;TI" digest;TI"%477725c9c7597ed55405920ee416a766;FI" _version;TI"%3e3098c8a5e9a7f3b984ba95ac600637;F +;TI"required_assets_digest;TI"%2653f3ab381b353c0e0b22f29f084189;FI" _version;TI"%6584930913c75ff69ba506e1cfbae2c9;F \ No newline at end of file