Enable html5 mode for openproject angular app

pull/913/head
Till Breuer 11 years ago
parent 808effa299
commit d7fb5eda73
  1. 4
      app/assets/javascripts/angular/openproject-app.js

@ -1 +1,5 @@
var openprojectApp = angular.module('openproject', ['ui.select2', 'openproject.uiComponents']); var openprojectApp = angular.module('openproject', ['ui.select2', 'openproject.uiComponents']);
openprojectApp.config(['$locationProvider', function($locationProvider) {
$locationProvider.html5Mode(true);
}]);

Loading…
Cancel
Save