Skip to content

Commit

Permalink
feat(aot):export default routes array to work with AoT compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Meligy committed Oct 16, 2016
1 parent c2dd94c commit 45714c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

const routes: Routes = [];
export const routes: Routes = [];

@NgModule({
imports: [RouterModule.forChild(routes)],
Expand Down

0 comments on commit 45714c2

Please sign in to comment.