OSDN Git Service

fix 80 port config
authorrandx <dmitriy.zaporozhets@gmail.com>
Sun, 1 Jul 2012 10:24:47 +0000 (13:24 +0300)
committerrandx <dmitriy.zaporozhets@gmail.com>
Sun, 1 Jul 2012 10:24:47 +0000 (13:24 +0300)
config/initializers/1_settings.rb

index 5d0ecbd..7142047 100644 (file)
@@ -22,6 +22,7 @@ class Settings < Settingslogic
       raw_url = self.web_protocol
       raw_url << web.host
       raw_url << ":#{web.port}" if web.port.to_i != 80
+      raw_url
     end
 
     def ssh_port