Sha256: 7d5c19731e2059557b3928444bda8cca115c1cec5a4d31fe43690bdd63bc38d0

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

class RestSetupGenerator < Rails::Generator::Base
  def manifest
    record do |m|
			# Configuration
      m.file "config/initializers/pagination.rb", "config/initializers/pagination.rb" 
			
      # Controllers
      m.file "app/controllers/javascripts_controller.rb", "app/controllers/javascripts_controller.rb" 

      # Views
      m.directory "app/views/javascripts"
      m.file "app/views/javascripts/ujs.js.erb", "app/views/javascripts/ujs.js.erb" 

      # JavaScript
      m.file "public/javascripts/jquery.rest.js", "public/javascripts/jquery.rest.js"

      # Views
      m.directory "public/themes/default/images/icons/rest"
      m.file "public/themes/default/images/icons/rest/show.png", "public/themes/default/images/icons/rest/show.png" 
      m.file "public/themes/default/images/icons/rest/new.png", "public/themes/default/images/icons/rest/new.png" 
      m.file "public/themes/default/images/icons/rest/edit.png", "public/themes/default/images/icons/rest/edit.png" 
      m.file "public/themes/default/images/icons/rest/destroy.png", "public/themes/default/images/icons/rest/destroy.png" 

      # Instructions
      m.readme "README"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aeonscope-rest-1.1.0 rails_generators/rest_setup/rest_setup_generator.rb