Mercurial > hg > soundsoftware-site
diff app/controllers/repositories_controller.rb @ 272:f89f7331fc00 feature_72
repository scm not showing anymore.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 17 Mar 2011 17:44:19 +0000 |
parents | 55468f2fd4ad |
children | c09865a48f4e |
line wrap: on
line diff
--- a/app/controllers/repositories_controller.rb Tue Feb 15 17:23:37 2011 +0000 +++ b/app/controllers/repositories_controller.rb Thu Mar 17 17:44:19 2011 +0000 @@ -45,6 +45,7 @@ @repository.attributes = params[:repository] @repository.save end + render(:update) do |page| page.replace_html "tab-content-repository", :partial => 'projects/settings/repository' if @repository && !@project.repository