Merge pull request #534 from GSA/bug-url-endpoint
fix url endpoint for job_show
This commit is contained in:
commit
b6cb58d778
|
@ -758,7 +758,7 @@ def get_mail_extra_vars(context, source_id, status):
|
|||
errors = job_errors + obj_errors
|
||||
|
||||
site_url = config.get('ckan.site_url')
|
||||
job_url = toolkit.url_for('harvest.job_show', source=source['id'], id=last_job['id'])
|
||||
job_url = toolkit.url_for('harvester.job_show', source=source['id'], id=last_job['id'])
|
||||
full_job_url = urljoin(site_url, job_url)
|
||||
extra_vars = {
|
||||
'organization': organization,
|
||||
|
|
Loading…
Reference in New Issue