Sha256: 891e21ab65fcb623852f125655a5f03f0eaefd15473a2ae4eaf2ecd349cdaee7

Contents?: true

Size: 1.59 KB

Versions: 2

Compression:

Stored size: 1.59 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"&sprangular/controllers/account.js;FI"
pathname;TI"g/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/controllers/account.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+"UI"length;TiýI"digest;TI"%71a137348260b349fb9ff75036fd4a4c;FI"source;TI"ý(function() {
  Sprangular.controller('AccountCtrl', function($scope, $location, $routeParams, Status, Account, user) {
    Status.setPageTitle('nav.my_account');
    user.password = '';
    user.password_confirmation = '';
    $scope.editing = false;
    $scope.user = user;
    $scope.edit = function() {
      return $scope.editing = true;
    };
    $scope.stopEdit = function() {
      return $scope.editing = false;
    };
    return $scope.save = function() {
      user.errors = {};
      return Account.save(user).then(function(content) {
        $scope.editing = false;
        if (!Account.isLogged) {
          return $location.path('/');
        }
      }, function(errors) {
        return user.errors = errors;
      });
    };
  });

}).call(this);
;TI"dependency_digest;TI"%43ad44f5f94420fe7e29d2303978e967;FI"required_paths;T[I"g/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/controllers/account.coffee;FI"dependency_paths;T[{I"	path;TI"g/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/controllers/account.coffee;FI"
mtime;TI"2015-03-25T16:05:54-04:00;TI"digest;TI"%9075dd2473ac01d0829d47917392cfdd;FI"
_version;TI"%64e62ddc273c2f5847f30d698ca14b67;F

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
sprangular-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/65445bd0a00bfebaa69d0c5ee6eda300
sprangular-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/6f6b72e5f8321591edf80a2035fd016c