diff --git a/ckanext/canada/view.py b/ckanext/canada/view.py index f611dc1de..d97a63241 100644 --- a/ckanext/canada/view.py +++ b/ckanext/canada/view.py @@ -536,7 +536,7 @@ def ckanadmin_publish_datasets(): h.flash_notice(str(count) + _(u' record(s) published.')) # return us to the publishing interface - return h.redirect_to(h.url_for('canada.ckanadmin_publish')) + return h.redirect_to('canada.ckanadmin_publish') @canada_views.route('/dataset//delete-datastore-table/', methods=['GET', 'POST'])