Skip to content
This repository has been archived by the owner on Aug 3, 2018. It is now read-only.

Commit

Permalink
chore(browser-providers): changes to PathLocationStrategy
Browse files Browse the repository at this point in the history
Fixes #31
  • Loading branch information
Martin committed Aug 2, 2016
1 parent 565a92f commit d321b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/browser-providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

// Angular 2
import { HashLocationStrategy, LocationStrategy } from '@angular/common';
import { PathLocationStrategy, LocationStrategy } from '@angular/common';
// Angular 2 Http
import { HTTP_PROVIDERS } from '@angular/http';
// Angular 2 Router
Expand Down Expand Up @@ -36,7 +36,7 @@ export const APPLICATION_PROVIDERS = [
...MATERIAL_PROVIDERS,
...HTTP_PROVIDERS,

{ provide: LocationStrategy, useClass: HashLocationStrategy }
{ provide: LocationStrategy, useClass: PathLocationStrategy }
];

export const PROVIDERS = [
Expand Down

0 comments on commit d321b06

Please sign in to comment.