default_theme.rb 203 Bytes
# create the symlink to the default theme if it does not exist
default = File.join(RAILS_ROOT, 'public', 'designs', 'themes', 'default')
if !File.exists?(default)
  File.symlink('noosfero', default)
end