Commit e60922134d3e48479ebeceed6912a05d85e27a27

Authored by Daniela Feitosa
Committed by Valessio Brito
1 parent c008814f

updating application controller to support layouts from themes

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/controllers/application_controller.rb
... ... @@ -5,6 +5,7 @@ class ApplicationController < ActionController::Base
5 5 include ApplicationHelper
6 6 layout :get_layout
7 7 def get_layout
  8 + prepend_view_path('public/' + theme_path)
8 9 theme_option(:layout) || 'application'
9 10 end
10 11  
... ...