Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.304 kb
require 'rails/generators'
class AutocompleteGenerator < Rails::Generators::Base
def install
# Copy the unobtrusive JS file
copy_file('autocomplete-rails.js', 'public/javascripts/autocomplete-rails.js')
end
def self.source_root
File.join(File.dirname(__FILE__), 'templates')
end
end
Jump to Line
Something went wrong with that request. Please try again.