Commit 1f3a4c2220456a9c8767ecfa6fe57b8cc1f2a524
1 parent
5fed30ba
Exists in
master
and in
28 other branches
ActionItem1165: always add that space
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/models/profile.rb
... | ... | @@ -359,7 +359,7 @@ class Profile < ActiveRecord::Base |
359 | 359 | end |
360 | 360 | |
361 | 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 | 363 | Noosfero.url_options.merge(options) |
364 | 364 | end |
365 | 365 | ... | ... |
app/views/layouts/application.rhtml
... | ... | @@ -39,7 +39,7 @@ |
39 | 39 | # Identify the current controller and action for the CSS: |
40 | 40 | " controller_"+ @controller.controller_name() + |
41 | 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 | 43 | %>' onload='noosfero_init();' |
44 | 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 | 45 | <script type="text/javascript"> | ... | ... |