Skip to content

Commit

Permalink
Proxyfied->proxified
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Oct 31, 2012
1 parent 4a255aa commit 8224853
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ckanext/jsonpreview/plugin.py
Expand Up @@ -48,7 +48,7 @@ def setup_template_variables(self, context, data_dict):
resource = data_dict['resource']
format_lower = resource['format'].lower()
if format_lower in self.JSON_FORMATS and proxy and not resource['on_same_domain']:
base.c.resource['url'] = proxy.get_proxyfied_resource_url(data_dict)
base.c.resource['url'] = proxy.get_proxified_resource_url(data_dict)

def preview_template(self, context, data_dict):
return 'json.html'
2 changes: 1 addition & 1 deletion ckanext/pdfpreview/plugin.py
Expand Up @@ -41,7 +41,7 @@ def can_preview(self, data_dict):

def setup_template_variables(self, context, data_dict):
if proxy and not data_dict['resource']['on_same_domain']:
base.c.resource['url'] = proxy.get_proxyfied_resource_url(data_dict)
base.c.resource['url'] = proxy.get_proxified_resource_url(data_dict)

def preview_template(self, context, data_dict):
return 'pdf.html'
2 changes: 1 addition & 1 deletion ckanext/resourceproxy/plugin.py
Expand Up @@ -8,7 +8,7 @@
log = getLogger(__name__)


def get_proxyfied_resource_url(data_dict):
def get_proxified_resource_url(data_dict):
'''
:param data_dict: contains a resource and package dict
:type data_dict: dictionary
Expand Down

0 comments on commit 8224853

Please sign in to comment.