app/models/theme.rb in disguise-0.3.12 vs app/models/theme.rb in disguise-0.4.0

- old
+ new

@@ -10,10 +10,10 @@ # {:name => theme_name, :preview_image => image, :description => description} # This can then be used by the view layer to show the user a list of available themes # along with a preview image. def self.available_themes(selected_theme) themes = [] - theme_path = File.join(RAILS_ROOT, Disguise.theme_path) + theme_path = File.join(RAILS_ROOT, Disguise::Config.theme_path) current_theme = nil Dir.glob("#{theme_path}/*").each do |theme_directory| if File.directory?(theme_directory) theme_name = File.basename(theme_directory)