models: fix slice creation (#1130)

Fix #1128
This commit is contained in:
Riccardo Magliocchetti 2016-09-20 00:23:15 +02:00 committed by Maxime Beauchemin
parent 1c544c9845
commit 8c619e8383
1 changed files with 1 additions and 1 deletions

View File

@ -696,7 +696,7 @@ class SqlaTable(Model, Queryable, AuditMixinNullable):
def link(self):
table_name = escape(self.table_name)
return Markup(
'<a href="{self.url}">{table_name}</a>'.format(**locals()))
'<a href="{self.explore_url}">{table_name}</a>'.format(**locals()))
@property
def perm(self):