mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
switched to HTML5 URL style as angular 2 documentation states it is a preferable way
This commit is contained in:
parent
0c3b3a4390
commit
dd6c7644f6
1 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ import {FORM_PROVIDERS} from 'angular2/common';
|
||||||
// Angular 2 Http
|
// Angular 2 Http
|
||||||
import {HTTP_PROVIDERS} from 'angular2/http';
|
import {HTTP_PROVIDERS} from 'angular2/http';
|
||||||
// Angular 2 Router
|
// Angular 2 Router
|
||||||
import {ROUTER_PROVIDERS, LocationStrategy, HashLocationStrategy} from 'angular2/router';
|
import {ROUTER_PROVIDERS, LocationStrategy, PathLocationStrategy} from 'angular2/router';
|
||||||
|
|
||||||
// Angular 2 Material
|
// Angular 2 Material
|
||||||
// TODO(gdi2290): replace with @angular2-material/all
|
// TODO(gdi2290): replace with @angular2-material/all
|
||||||
|
|
@ -26,7 +26,7 @@ export const APPLICATION_PROVIDERS = [
|
||||||
...HTTP_PROVIDERS,
|
...HTTP_PROVIDERS,
|
||||||
...MATERIAL_PROVIDERS,
|
...MATERIAL_PROVIDERS,
|
||||||
...ROUTER_PROVIDERS,
|
...ROUTER_PROVIDERS,
|
||||||
provide(LocationStrategy, { useClass: HashLocationStrategy })
|
provide(LocationStrategy, { useClass: PathLocationStrategy })
|
||||||
];
|
];
|
||||||
|
|
||||||
export const PROVIDERS = [
|
export const PROVIDERS = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue