Commit b176a864627bb5b30790653fa311f05931f462d2

Authored by Daniela Feitosa
1 parent 7d22740a

updating application controller to support layouts from themes

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