Sha256: 3e944859002154183824af0adffc15abdd16b1ee3cdaba1bb36cd7527f6381e6

Contents?: true

Size: 504 Bytes

Versions: 3

Compression:

Stored size: 504 Bytes

Contents

class RestSetupGenerator < Rails::Generator::Base
  def manifest
    record do |m|
      # 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" 

      # JavaScripts
      m.file "public/javascripts/rest.js", "public/javascripts/rest.js"

      # Instructions
      m.readme "README"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aeonscope-btech_rest-0.4.1 rails_generators/rest_setup/rest_setup_generator.rb
aeonscope-btech_rest-0.4.2 rails_generators/rest_setup/rest_setup_generator.rb
aeonscope-btech_rest-0.4.4 rails_generators/rest_setup/rest_setup_generator.rb