merged working with dev branch

This commit is contained in:
David Baldwynn 2015-11-03 12:46:54 -08:00
commit f306ac931d
2 changed files with 1 additions and 2 deletions

View file

@ -4,7 +4,6 @@
* Module dependencies.
*/
var mongoose = require('mongoose'),
// relationship = require('mongoose-relationship'),
mUtilities = require('mongoose-utilities'),
_ = require('lodash'),
Schema = mongoose.Schema;

View file

@ -7,7 +7,7 @@ angular.module('users').config(['$httpProvider',
return {
responseError: function(response) {
// console.log($location.path());
if( $location.path() !== '/users/me' && response.config){
if( ($location.path() !== '/users/me' || $location.path() !== '/forms') && response.config){
if(response.config.url !== '/users/me'){
console.log('intercepted rejection of ', response.config.url, response.status);
if (response.status === 401) {