app/controllers/admin/disguise/themes_controller.rb in disguise-0.1.3 vs app/controllers/admin/disguise/themes_controller.rb in disguise-0.2.0
- old
+ new
@@ -3,9 +3,11 @@
before_filter :get_theme
def edit
@current_theme, @themes = Theme.available_themes(@theme)
+ @domain_themes = {}
+ DomainTheme.all.each{|d| @domain_themes[d.name] = d}
if @themes.empty?
respond_to do |format|
format.html { render :template => 'admin/themes/no_themes' }
end
else
\ No newline at end of file