Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes Issue #468 - https://github.com/justinfrench/formtastic/issues/…

…#issue/468 - where the directories config/initializers and public/stylesheets are removed on running the destroy generator, regardless of other files that they contain.
  • Loading branch information...
commit 5a73707afdef8291a6281b668d68b4403f27e087 1 parent b6e580d
@vijaydev vijaydev authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  lib/generators/formtastic/install/install_generator.rb
View
2  lib/generators/formtastic/install/install_generator.rb
@@ -6,10 +6,8 @@ class InstallGenerator < Rails::Generators::Base
source_root File.expand_path('../../../templates', __FILE__)
def copy_files
- empty_directory 'config/initializers'
template 'formtastic.rb', 'config/initializers/formtastic.rb'
- empty_directory 'public/stylesheets'
template 'formtastic.css', 'public/stylesheets/formtastic.css'
template 'formtastic_changes.css', 'public/stylesheets/formtastic_changes.css'
end
Please sign in to comment.
Something went wrong with that request. Please try again.