Strip trailing slashes in angular resources.

This commit is contained in:
Alexis Lahouze 2016-01-14 10:25:37 +01:00
parent 9498e3e89e
commit cbd1ad0e49

View File

@ -77,7 +77,7 @@ var accountantApp = angular.module("accountantApp", [
$storageProvider.setEnabledStorageEngines(['local', 'session']); $storageProvider.setEnabledStorageEngines(['local', 'session']);
// Keep trailing slashes to avoid redirect by flask.. // Keep trailing slashes to avoid redirect by flask..
$resourceProvider.defaults.stripTrailingSlashes = false; $resourceProvider.defaults.stripTrailingSlashes = true;
}]) }])
.run(function(editableOptions) { .run(function(editableOptions) {