Skip to content

Commit

Permalink
Change location of the default theme from themes/default => app/theme…
Browse files Browse the repository at this point in the history
…s/default, and ignore the themes folder

Now you can just symlink the themes folder when deploying and not overwrite any changes.
  • Loading branch information
isaackearse committed Dec 17, 2008
1 parent 098bb13 commit 87b221f
Show file tree
Hide file tree
Showing 21 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -9,5 +9,5 @@ public/assets
public/cache
public/plugin_assets
tmp
themes/*
themes
*~
2 changes: 1 addition & 1 deletion app/models/site.rb
Expand Up @@ -323,7 +323,7 @@ def setup_site_theme_directories
begin
current_theme_path = self.theme_path + "simpla"
FileUtils.mkdir_p(self.theme_path)
FileUtils.cp_r("#{RAILS_ROOT}/themes/default", current_theme_path)
FileUtils.cp_r("#{RAILS_ROOT}/app/themes/default", current_theme_path)
Dir[File.join(current_theme_path, '**/.svn')].each do |dir|
FileUtils.rm_rf dir
end
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 87b221f

Please sign in to comment.