Sha256: 0622a23cdf0b14ac4f5ba601866903096b9065467036e539c02456fdf25df922
Contents?: true
Size: 493 Bytes
Versions: 6
Compression:
Stored size: 493 Bytes
Contents
require File.dirname(__FILE__) + '/../generator_helpers' class TaliaOaiGenerator < Rails::Generator::Base include GeneratorHelpers def self_dir ; File.dirname(__FILE__) ; end def manifest record do |m| m.directory 'config/initializers' m.file "oai_initializer.rb", "config/initializers/talia_oai.rb" m.directory 'app/controllers' m.file 'oai_controller.rb', 'app/controllers/oai_controller.rb' m.route "map.resources :oai" end end end
Version data entries
6 entries across 6 versions & 1 rubygems