method

create_javascript_files

rails latest stable - Class: AppGenerator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

create_javascript_files(m)
private

No documentation available.

# File railties/lib/rails_generator/generators/applications/app/app_generator.rb, line 246
    def create_javascript_files(m)
      %w( prototype effects dragdrop controls application ).each do |javascript|
        m.file "html/javascripts/#{javascript}.js", "public/javascripts/#{javascript}.js"
      end
    end