o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1336655373.664963: @value"; {I" class:EFI"ProcessedAsset;FI"logical_path;F"'ems/controllers/tags_controller.jsI" pathname;F"w/private/var/www/html/development/projects/rails/ems/app/assets/javascripts/ems/controllers/tags_controller.coffeeI"content_type;FI"application/javascript;FI" mtime;FI"2012-03-19T10:40:06+00:00;FI" length;Fi¾I" digest;F"%371bd053b66350181be8ab283ce353caI" source;FI"¾(function() { var __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor; child.__super__ = parent.prototype; return child; }; Ems.TagsController = (function(_super) { __extends(TagsController, _super); TagsController.name = 'TagsController'; function TagsController() { return TagsController.__super__.constructor.apply(this, arguments); } TagsController.prototype.tags = null; TagsController.prototype.index = function(params) {}; TagsController.prototype.show = function(params) {}; TagsController.prototype["new"] = function(params) { return this.set('tag', new Ems.Tag()); }; TagsController.prototype.create = function(params) { var _this = this; return this.get('tag').save(function(err) { if (err) { if (!(err instanceof Batman.ErrorsSet)) { throw err; } } else { Ems.flashSuccess("Tag " + (_this.get('tag.title')) + " created successfully!"); return _this.redirect('/tags'); } }); }; TagsController.prototype.edit = function(params) { this.set('tag', Ems.Tag.find(parseInt(params.id), function(err) { if (err) { throw err; } })); return this.form = this.render(); }; TagsController.prototype.update = function() { var _this = this; return this.get('tag').save(function(err) { if (err) { if (!(err instanceof Batman.ErrorsSet)) { throw err; } } else { Ems.flashSuccess("Tag " + (_this.get('tag.title')) + " updated successfully!"); return _this.redirect('/tags'); } }); }; return TagsController; })(Batman.Controller); }).call(this); ;TI"dependency_digest;F"%40ad90800b90601fd5635fa4193d1b67I"required_paths;F["w/private/var/www/html/development/projects/rails/ems/app/assets/javascripts/ems/controllers/tags_controller.coffeeI"dependency_paths;F[{I" path;F"w/private/var/www/html/development/projects/rails/ems/app/assets/javascripts/ems/controllers/tags_controller.coffeeI" mtime;FI"2012-03-19T10:40:06+00:00;FI" digest;F"%da77b7f3fb94288b5c84f5adedf2f067I" _version;F"%9f3b95dd7ea3030dc35985c0a8020862