Commit 1f3a4c2220456a9c8767ecfa6fe57b8cc1f2a524

Authored by Antonio Terceiro
1 parent 5fed30ba

ActionItem1165: always add that space

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 = { :host => default_hostname, :profile => (own_hostname ? nil : self.identifier) } 362 + options = { :protocol => 'http://', :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
app/views/layouts/application.rhtml
@@ -39,7 +39,7 @@ @@ -39,7 +39,7 @@
39 # Identify the current controller and action for the CSS: 39 # Identify the current controller and action for the CSS:
40 " controller_"+ @controller.controller_name() + 40 " controller_"+ @controller.controller_name() +
41 " action_"+ @controller.controller_name() +"_"+ @controller.action_name() + 41 " action_"+ @controller.controller_name() +"_"+ @controller.action_name() +
42 - (logged_in? ? ' logged-in' : 'not-logged-in') 42 + ' ' + (logged_in? ? 'logged-in' : 'not-logged-in')
43 %>' onload='noosfero_init();' 43 %>' onload='noosfero_init();'
44 help=<%= _('Pass the mouse over page elements to get help on them. Click the question mark icon on the top-right corner to deactivate this help window.').inspect %> onresize="registerDocumentSize()"> 44 help=<%= _('Pass the mouse over page elements to get help on them. Click the question mark icon on the top-right corner to deactivate this help window.').inspect %> onresize="registerDocumentSize()">
45 <script type="text/javascript"> 45 <script type="text/javascript">