Skip to content

Commit

Permalink
[#2501] temp holding code - no changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Jun 21, 2012
1 parent b48c1ae commit 08c78a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckan/controllers/package.py
Expand Up @@ -474,6 +474,9 @@ def new_resource(self, id):
# FIXME save here
save_action = request.params.get('save')
if save_action == 'save' or save_action == 'next':
## context = {'model': model, 'session': model.Session,
## 'user': c.user or c.author, 'extras_as_string': True,}
## get_action('resource_create')(context, data_dict)
redirect(h.url_for(controller='package', action='new_metadata', id=id))
return render('package/new_resource.html', extra_vars={'pkg_name':id})

Expand Down

0 comments on commit 08c78a0

Please sign in to comment.