diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 1fd08ee..4ab6a69 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -873,4 +873,8 @@ module ApplicationHelper stylesheet_import pngfix_stylesheet_path() end + def noosfero_layout_features + render :file => 'shared/noosfero_layout_features' + end + end diff --git a/app/models/theme.rb b/app/models/theme.rb index 56a3c55..6d46d46 100644 --- a/app/models/theme.rb +++ b/app/models/theme.rb @@ -64,6 +64,7 @@ class Theme self.send("#{k}=", v) end config['id'] = id + config['layout'] = 'application-ng' end def name diff --git a/app/views/layouts/application-ng.rhtml b/app/views/layouts/application-ng.rhtml index a7e5aa2..0321506 100644 --- a/app/views/layouts/application-ng.rhtml +++ b/app/views/layouts/application-ng.rhtml @@ -1,4 +1,5 @@ - + +