Commit 3951277fa773cb85a47fb37e34d4762563c463ba

Authored by Braulio Bhavamitra
1 parent 181fc268

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,7 +40,7 @@ class ApplicationController < ActionController::Base
40 40
41 theme_layout = theme_option(:layout) 41 theme_layout = theme_option(:layout)
42 if theme_layout 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 else 44 else
45 'application' 45 'application'
46 end 46 end