We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9654d2a commit aa7b454Copy full SHA for aa7b454
packages/ember-routing/lib/services/router.js
@@ -18,9 +18,33 @@ import { shallowEqual } from '../utils';
18
@category ember-routing-router-service
19
*/
20
const RouterService = Service.extend({
21
+
22
+ /**
23
+ @property currentRouteName
24
+ @type String
25
+ @public
26
+ */
27
currentRouteName: readOnly('_router.currentRouteName'),
28
29
30
+ @property currentURL
31
32
33
34
currentURL: readOnly('_router.currentURL'),
35
36
37
+ @property location
38
39
40
41
location: readOnly('_router.location'),
42
43
44
+ @property rootURL
45
46
47
48
rootURL: readOnly('_router.rootURL'),
49
_router: null,
50
0 commit comments