Honor kwargs used for MasterView.get_index_url()

This commit is contained in:
Lance Edgar 2019-09-19 20:19:52 -05:00
parent 0d2f6e060f
commit fe413ba2f5

View file

@ -2202,7 +2202,7 @@ class MasterView(View):
route = self.get_route_prefix() route = self.get_route_prefix()
if mobile: if mobile:
route = 'mobile.{}'.format(route) route = 'mobile.{}'.format(route)
return self.request.route_url(route) return self.request.route_url(route, **kwargs)
@classmethod @classmethod
def get_index_title(cls): def get_index_title(cls):