Sha256: e5b7fed1b596c763461aed5d5d8d6c61a9599792c3df1fe23d2988a78f779702

Contents?: true

Size: 1.76 KB

Versions: 2

Compression:

Stored size: 1.76 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"-sprangular/controllers/forgotPassword.js;FI"
pathname;TI"n/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/controllers/forgotPassword.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+"UI"length;Ti”I"digest;TI"%a44cd2ee7595c7f3a38d6f22e783248d;FI"source;TI"”(function() {
  Sprangular.controller('ForgotPasswordCtrl', function($scope, $location, Account, Flash, Status, $translate) {
    var request;
    $translate('app.forgot_password').then(function(paragraph) {
      return Status.title = paragraph;
    });
    request = {
      email: '',
      errors: {}
    };
    $scope.request = request;
    $scope.submit = function() {
      var error, success;
      request.errors = {};
      success = function() {
        $location.path('/');
        return Flash.error('app.confirm_reset_password');
      };
      error = function(response) {
        return $translate('app.email_not_found').then(function(paragraph) {
          return request.errors['email'] = paragraph;
        });
      };
      return Account.forgotPassword(request).then(success, error);
    };
    return $scope.cancel = function() {
      return $location.path('/');
    };
  });

}).call(this);
;TI"dependency_digest;TI"%0d58225f1fad495312af53f482c70700;FI"required_paths;T[I"n/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/controllers/forgotPassword.coffee;FI"dependency_paths;T[{I"	path;TI"n/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/controllers/forgotPassword.coffee;FI"
mtime;TI"2015-03-25T16:05:54-04:00;TI"digest;TI"%40011bab4789b68e7db91591e2b54437;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/86b73f8f35d9f791b06ec3d5038b865e
sprangular-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/b161b479a1e1b04fea01044688e45094