6
7
8
9
10
11
12
13
14
|
# File 'lib/generators/textile_editor_helper/install_generator.rb', line 6
def copy_assets
js_destination = 'app/assets/javascripts'
css_destination = 'app/assets/stylesheets'
copy_file 'assets/javascripts/textile-editor.js', "#{js_destination}/textile-editor.js"
copy_file 'assets/javascripts/textile-editor-config.js', "#{js_destination}/textile-editor-config.js"
copy_file 'assets/stylesheets/textile-editor.css', "#{css_destination}/textile-editor.css"
directory 'assets/images/textile-editor', 'app/assets/images/textile-editor'
readme 'README' if behavior == :invoke
end
|