Sha256: ac7e4ef9b7e37d925f9759cc31d6e2d6a4dfdf73637a0b3e70c83c7249f08fc6
Contents?: true
Size: 381 Bytes
Versions: 3
Compression:
Stored size: 381 Bytes
Contents
class AeUsersGenerator < Rails::Generator::Base def manifest record do |m| m.directory "public/images/ae_users" %w{add admin group logout remove user}.each do |img| m.file "#{img}.png", "public/images/ae_users/#{img}.png" end m.migration_template 'migration.rb', "db/migrate", :migration_file_name => 'ae_users_local_tables' end end end
Version data entries
3 entries across 3 versions & 1 rubygems