1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00

Require trailing slash in auth URLs.

This commit is contained in:
Simo Kinnunen 2014-07-16 11:38:14 +09:00
parent b19e1784ab
commit 2d726a4f75
4 changed files with 8 additions and 8 deletions

View file

@ -5,12 +5,12 @@ define(['./app'], function(app) {
, function($routeProvider, $locationProvider) {
$locationProvider.html5Mode(true)
$routeProvider
.when('/auth/ldap', {
.when('/auth/ldap/', {
templateUrl: '/static/auth/ldap/views/signin.html'
, controller: 'SignInCtrl'
})
.otherwise({
redirectTo: '/auth/ldap'
redirectTo: '/auth/ldap/'
})
}
])