Sha256: 83713017aff591497043c5cf1ef7f62aebb12631341ae9c1a640e9a553095124
Contents?: true
Size: 366 Bytes
Versions: 29
Compression:
Stored size: 366 Bytes
Contents
require 'rails/generators' module Autocomplete class InstallGenerator < 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__), '..', '..', 'assets', 'javascripts') end end end
Version data entries
29 entries across 29 versions & 5 rubygems