OSDN Git Service

fix project new link
authorSaito <saitowu@gmail.com>
Mon, 14 Nov 2011 08:15:26 +0000 (16:15 +0800)
committerSaito <saitowu@gmail.com>
Mon, 14 Nov 2011 08:15:26 +0000 (16:15 +0800)
app/views/projects/_form.html.haml

index cc7a933..77afed2 100644 (file)
       %tr
         %td
           .left= f.label :path
-          %cite.right git@yourserver:
+          %cite.right= "git@#{GITOSIS["host"]}:"
         %td
           = f.text_field :path, :placeholder => "example_project", :disabled => !@project.new_record?
       %tr
         %td
           .left= f.label :code
-          %cite.right http://yourserver/
+          %cite.right= "http://#{GITOSIS["host"]}/"
         %td= f.text_field :code, :placeholder => "example"
 
       %tr