Commit 3951277fa773cb85a47fb37e34d4762563c463ba
1 parent
181fc268
Exists in
master
and in
29 other branches
Fix support of custom layout in themes
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 | ... | ... |