Commit d95b90a28c9e0c9e7336f29387fa54880dde7eef
1 parent
a927325b
Exists in
master
and in
28 other branches
ActionItem1165: this should not be commited yet
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/profile.rb
@@ -359,7 +359,7 @@ class Profile < ActiveRecord::Base | @@ -359,7 +359,7 @@ class Profile < ActiveRecord::Base | ||
359 | end | 359 | end |
360 | 360 | ||
361 | def url_options | 361 | def url_options |
362 | - options = { :protocol => 'http://', :host => default_hostname, :profile => (own_hostname ? nil : self.identifier) } | 362 | + options = { :host => default_hostname, :profile => (own_hostname ? nil : self.identifier) } |
363 | Noosfero.url_options.merge(options) | 363 | Noosfero.url_options.merge(options) |
364 | end | 364 | end |
365 | 365 |