Method: Thesis::Generators::InstallGenerator#create_folders

Defined in:
lib/generators/thesis/install/install_generator.rb

#create_foldersObject



26
27
28
29
30
# File 'lib/generators/thesis/install/install_generator.rb', line 26

def create_folders
  return copy_file "page_templates/default.html.slim", "app/views/page_templates/default.html.slim" if defined? Slim
  return copy_file "page_templates/default.html.haml", "app/views/page_templates/default.html.haml" if defined? Haml
  copy_file "page_templates/default.html.erb", "app/views/page_templates/default.html.erb"
end