Commit adc8efa4890de31de7acbca5f46ed022c80f4a25

Authored by Antonio Terceiro
2 parents 098a2def 3951277f

Merge branch 'ai3299' into 'master'

Fix support of custom layout in themes

http://noosfero.org/Development/ActionItem3299

See merge request !315
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/application_controller.rb
... ... @@ -40,7 +40,7 @@ class ApplicationController < ActionController::Base
40 40  
41 41 theme_layout = theme_option(:layout)
42 42 if theme_layout
43   - theme_view_file('layouts/'+theme_layout) || theme_layout
  43 + (theme_view_file('layouts/'+theme_layout) || theme_layout).to_s
44 44 else
45 45 'application'
46 46 end
... ...