Fixing move-profile redirect URL
This commit is contained in:
parent
e3434ccfbe
commit
dcc0394ade
|
|
@ -443,7 +443,7 @@ class SdrProfileController(SdrFormControllerWithModal):
|
||||||
del self.device["profiles"][id]
|
del self.device["profiles"][id]
|
||||||
self.device["profiles"][id] = profile
|
self.device["profiles"][id] = profile
|
||||||
config.store()
|
config.store()
|
||||||
return self.send_redirect("{}settings/sdr/{}".format(self.get_document_root(), quote(self.device_id)))
|
return self.send_redirect("{}settings/sdr/{}/profile/{}".format(self.get_document_root(), quote(self.device_id), quote(self.profile_id)))
|
||||||
|
|
||||||
|
|
||||||
class NewProfileController(SdrProfileController):
|
class NewProfileController(SdrProfileController):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue