Permalink
Browse files

Looked into it and we can use a few methods on request to handle prot…

…ocol://yourhost:port/refinery
  • Loading branch information...
1 parent b51798f commit b356865114f6258c4d9160fd7ac3591c978fccf8 @parndt parndt committed Mar 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/app/views/welcome.html.erb
@@ -3,7 +3,7 @@
<%=t('.remember_admin_location')%>
</p>
<p>
- <strong>http://<%= request.host %><%= ":#{request.port unless request.port == 80}"%>/refinery</strong>
+ <strong><%= [request.protocol, request.host_with_port, '/refinery'].join %></strong>
</p>
<p>
<%= t('.lets_start') %>

0 comments on commit b356865

Please sign in to comment.