Sha256: 8f4cff14b70ecdd4d44c5a44295d1e33d5f72898cc87af7b75e82d636a87786f
Contents?: true
Size: 304 Bytes
Versions: 34
Compression:
Stored size: 304 Bytes
Contents
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
Version data entries
34 entries across 34 versions & 2 rubygems