Skip to content

Commit

Permalink
Merge pull request #195 from vladotesanovic/patch-2
Browse files Browse the repository at this point in the history
Update app.ts
  • Loading branch information
PatrickJS committed Jan 4, 2016
2 parents 95a4ba4 + 0eab1a1 commit c1c3bc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ import {Home} from './home/home';
})
@RouteConfig([
{ path: '/', component: Home, name: 'Index' },
{ path: '/home', component: Home, name: 'Home' }
{ path: '/home', component: Home, name: 'Home' },
{ path: '/**', redirectTo: ['Index'] }
])
export class App {
name = 'Angular 2 Webpack Starter';
Expand Down

0 comments on commit c1c3bc7

Please sign in to comment.