changeset 219:55468f2fd4ad feature_72

dev commit
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 14 Feb 2011 15:01:39 +0000
parents fe45641dd248
children 6056b3c5f8f2
files app/controllers/repositories_controller.rb app/views/projects/settings/_repository.rhtml
diffstat 2 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/app/controllers/repositories_controller.rb	Thu Feb 10 16:16:00 2011 +0000
+++ b/app/controllers/repositories_controller.rb	Mon Feb 14 15:01:39 2011 +0000
@@ -36,8 +36,6 @@
   
   def edit
     @repository = @project.repository
-    
-    params[:repository_scm] = 'Mercurial'
 
     if !@repository
       @repository = Repository.factory(params[:repository_scm])
--- a/app/views/projects/settings/_repository.rhtml	Thu Feb 10 16:16:00 2011 +0000
+++ b/app/views/projects/settings/_repository.rhtml	Mon Feb 14 15:01:39 2011 +0000
@@ -14,8 +14,6 @@
 <% end %>
 <p><%= label_tag('repository_scm', l(:label_scm)) %>
 <%= scm_select_tag(@repository) %>
-<%= remote_function(:url => { :controller => 'repositories', :action => 'edit', :id => @project }, :method => :get, :with => "Form.serialize(this.form)") %></p>
-
 <%= repository_field_tags(f, @repository) if @repository %>