app/views/admin/settings/site.html.erb in camaleon_cms-0.1.3 vs app/views/admin/settings/site.html.erb in camaleon_cms-0.1.4
- old
+ new
@@ -1,6 +1,6 @@
<%
- theme_settings_file = Rails.root.join("app", "apps", 'themes', current_site.get_theme_slug, 'views/admin/settings.html.erb').to_s
+ theme_settings_file = File.join(current_theme.settings["path"], "views/admin/settings.html.erb").to_s
@site.slug = PluginRoutes.system_info["base_domain"] if current_site.main_site?
groups = @site.get_field_groups()
%>
<div class="page-title">
<h2><span class="fa fa-cog"></span> <%= "#{t('admin.settings.configuration_site')}: #{@site.the_title} "%> </h2>
\ No newline at end of file