diff rhodecode/controllers/changeset.py @ 2541:1c2ba03c42b4 beta

Added dynamic data loading for other repo we open pull request against - fixed notification emails, now with link to comment or status change in given pull request
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 03 Jul 2012 03:07:15 +0200
parents 8eab81115660
children 4fbbc65e8cd5
line wrap: on
line diff
--- a/rhodecode/controllers/changeset.py	Tue Jul 03 01:35:12 2012 +0200
+++ b/rhodecode/controllers/changeset.py	Tue Jul 03 03:07:15 2012 +0200
@@ -377,8 +377,8 @@
 
         comm = ChangesetCommentsModel().create(
             text=request.POST.get('text'),
-            repo_id=c.rhodecode_db_repo.repo_id,
-            user_id=c.rhodecode_user.user_id,
+            repo=c.rhodecode_db_repo.repo_id,
+            user=c.rhodecode_user.user_id,
             revision=revision,
             f_path=request.POST.get('f_path'),
             line_no=request.POST.get('line'),