Specify router config explictly

pull/6346/head
Oliver Günther 6 years ago
parent c867b94b26
commit 68a7c15317
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 8
      frontend/src/app/components/routing/ui-router.config.ts

@ -99,10 +99,10 @@ export const OPENPROJECT_ROUTES:StateDeclaration[] = [
params: {
// value: null makes the parameter optional
// squash: true avoids duplicate slashes when the paramter is not provided
projectPath: {value: null, squash: true},
projects: {value: null, squash: true},
query_id: {dynamic: true},
query_props: {dynamic: true}
projectPath: {type: 'path', value: null, squash: true},
projects: {type: 'path', value: null, squash: true},
query_id: {type: 'query', dynamic: true},
query_props: {type: 'query', dynamic: true, raw: true }
}
},
{

Loading…
Cancel
Save