Project

General

Profile

« Previous | Next » 

Revision c314bc51

Added by Serghei Mihai over 9 years ago

organization delete uri computing takes in account the host

View differences:

ckanext/ozwillo_organization_api/plugin.py
80 80
    context['user'] = user_dict['name']
81 81

  
82 82
    try:
83
        delete_uri = toolkit.url_for(controller='api', action='action',
83
        delete_uri = toolkit.url_for(host=request.host,
84
                                     controller='api', action='action',
84 85
                                     logic_function="delete-ozwillo-organization",
85 86
                                     ver=context['api_version'],
86 87
                                     qualified=True)

Also available in: Unified diff