Change register url from domain to host

This commit is contained in:
Manson Wang 2014-02-19 16:02:59 +08:00
parent 6f55352d8c
commit 090af47b7b
1 changed files with 2 additions and 2 deletions

View File

@ -20,9 +20,9 @@
<div class="control-group clear"> <div class="control-group clear">
<label class="control-label">Site url: </label> <label class="control-label">Site url: </label>
<div class="controls"> <div class="controls">
<label class="control-label muted"><%= request.protocol + request.domain %></label> <label class="control-label muted"><%= request.protocol + request.host %></label>
</div> </div>
<input type="hidden" name="site[url]" value="<%= request.protocol + request.domain %>" /> <input type="hidden" name="site[url]" value="<%= request.protocol + request.host %>" />
</div> </div>
<div class="control-group clear"> <div class="control-group clear">
<label class="control-label">University name: </label> <label class="control-label">University name: </label>