Permalink
Browse files

Push custom template path onto static paths

  • Loading branch information...
1 parent 24f3136 commit f3540552b82a1f8d39f182daa424b08958022a03 @lsegal lsegal committed Apr 30, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 app.rb
View
2 app.rb
@@ -54,6 +54,8 @@ def self.load_configuration
def self.copy_static_files
# Copy template files
puts ">> Copying static system files..."
+ Commands::StaticFileCommand::STATIC_PATHS <<
+ File.join(TEMPLATES_PATH, 'default', 'fulldoc', 'html')
Commands::StaticFileCommand::STATIC_PATHS.each do |path|
%w(css js images).each do |ext|
srcdir, dstdir = File.join(path, ext), File.join('public', ext)

0 comments on commit f354055

Please sign in to comment.