https改成自动获取

This commit is contained in:
huang 2016-09-28 11:43:10 +08:00
parent 0dd25c2419
commit 58b66b5d0b
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@
<%= render :partial => 'dir_list' %>
<% end %>
<a href="https://<%=Setting.host_name %>/forums/1/memos/1232" >如何提交代码</a>
<a href="<%= Setting.protocol + "://" %><%=Setting.host_name %>/forums/1/memos/1232" >如何提交代码</a>
<div class="fr">
<a style="color: #7f7f7f;">导出统计结果:</a>
<%= link_to "最近一周", {:controller => 'repositories', :action => 'export_rep_static', :format => 'xls', :rev => @rev, :cycle => "week" } %> <a style="color: #7f7f7f;">|</a>