Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1251-resource-view' into 1251-re…
Browse files Browse the repository at this point in the history
…source-view
  • Loading branch information
johnglover committed Nov 4, 2013
2 parents 29a7759 + 7f138ef commit 97213f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckan/controllers/package.py
Expand Up @@ -1495,6 +1495,7 @@ def edit_view(self, id, resource_id, view_id=None):
abort(401, _('Unauthorized to view View %s') % view_id)

view_type = view_type or request.GET.get('view_type')
data['view_type'] = view_type
view_plugin = datapreview.get_view_plugin(view_type)
if not view_plugin:
abort(404, _('View Type Not found'))
Expand Down

0 comments on commit 97213f0

Please sign in to comment.