Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

docs: (routing): Small documentation fix. #1319

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/routing/module.dart
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
* 'addRecipe': ngRoute(path: '/addRecipe', view: 'addRecipe.html'),
* 'recipe': ngRoute(path: '/recipe/:recipeId', mount: {
* 'view': ngRoute(path: '/view', view: 'viewRecipe.html'),
* 'edit': ngRoute(path: '/edit', view: 'editRecipe.html),
* 'edit': ngRoute(path: '/edit', view: 'editRecipe.html'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The extra coma at the end is not an error. Is is here to avoid prevent seeing a diff on this line when adding more entries in the map - it is allowed in Dart

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vicb So we learn something every day :) I will add it again.

* })
* });
*/
Expand Down