Commit 97e4a2115d1d7468fc5ebcae7f937f38ab281de8

Authored by Antonio Terceiro
1 parent 861a2a43

Removing symlink to default theme

It will be created on startup if needed. This way we allow the local
site administrator to set a different default theme.

(ActionItem1279)
config/initializers/default_theme.rb 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +# create the symlink to the default theme if it does not exist
  2 +default = File.join(RAILS_ROOT, 'public', 'designs', 'themes', 'default')
  3 +if !File.exists?(default)
  4 + File.symlink('noosfero', default)
  5 +end
... ...
public/designs/themes/default
... ... @@ -1 +0,0 @@
1   -noosfero
2 0 \ No newline at end of file