Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit bcf4ad0

Browse files
author
Paul Gray
committed
Simplifying routes
1 parent 73378e0 commit bcf4ad0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ app.config(['$stateProvider', '$urlRouterProvider', ($stateProvider, $urlRouterP
3636
// Now set up the states
3737
$stateProvider
3838
.state('userTranscript', {
39-
url: "/transcript/:userId",
39+
url: "/:userId",
4040
template: '<transcript></transcript>'
4141
})
4242
.state('transcripts', {
43-
url: "/transcripts",
44-
template: '<div>what what</div>'
43+
url: "/",
44+
template: '<div>Base</div>'
4545
});
4646
}]);
4747

0 commit comments

Comments
 (0)