diff app/controllers/repositories_controller.rb @ 213:00e958b1f6f8 feature_72

DEV commit: working in the repository config tab
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 09 Feb 2011 16:22:31 +0000
parents 513646585e45
children 55468f2fd4ad
line wrap: on
line diff
--- a/app/controllers/repositories_controller.rb	Tue Feb 08 15:07:08 2011 +0000
+++ b/app/controllers/repositories_controller.rb	Wed Feb 09 16:22:31 2011 +0000
@@ -36,6 +36,9 @@
   
   def edit
     @repository = @project.repository
+    
+    params[:repository_scm] = 'Mercurial'
+
     if !@repository
       @repository = Repository.factory(params[:repository_scm])
       @repository.project = @project if @repository