diff pylons_app/controllers/repos.py @ 220:e6c802a8dede

repo edit
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 25 May 2010 19:31:56 +0200
parents 70f645fa97cc
children fcab58c43ea1
line wrap: on
line diff
--- a/pylons_app/controllers/repos.py	Tue May 25 19:18:12 2010 +0200
+++ b/pylons_app/controllers/repos.py	Tue May 25 19:31:56 2010 +0200
@@ -88,7 +88,9 @@
     def show(self, id, format='html'):
         """GET /repos/id: Show a specific item"""
         # url('repo', id=ID)
-        return render('/repos_show.html')
+        
     def edit(self, id, format='html'):
         """GET /repos/id/edit: Form to edit an existing item"""
         # url('edit_repo', id=ID)
+        c.new_repo = id
+        return render('admin/repos/repo_edit.html')