Sign in
vanadium
/
release.projects.luma_third_party
/
b9b0674522addc740e94f5be2e42ba9a462e8a58
/
.
/
crowdstf
/
res
/
app
/
control-panes
/
control-panes-no-device-controller.js
blob: 398202af2c8b6b77c4490c42a062bd12c877b64d [
file
] [
log
] [
blame
]
module
.
exports
=
function
ControlPanesNoDeviceController
(
$location
,
SettingsService
)
{
var
lastUsedDevice
=
SettingsService
.
get
(
'lastUsedDevice'
)
if
(
lastUsedDevice
)
{
$location
.
path
(
'/control/'
+
lastUsedDevice
)
}
else
{
$location
.
path
(
'/'
)
}
}