correction d'une redirection en cas d'erreur
This commit is contained in:
parent
3a9ad3fbcf
commit
a0d15b2b95
@ -127,7 +127,7 @@ class RoomsController(AuthenticatedBaseController):
|
||||
|
||||
@expose("brie.templates.rooms.index")
|
||||
def preview(self, residence, number):
|
||||
if not number.isdigit(): redirect("/rooms/" + residence)
|
||||
if not number.isdigit(): redirect("/rooms/index/" + residence)
|
||||
|
||||
index_result = self.index(residence)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user