Sha256: 54e496990d0b22727b587cc02a96e2925cfbead0255ef93294e2e1ba098f0497
Contents?: true
Size: 412 Bytes
Versions: 1
Compression:
Stored size: 412 Bytes
Contents
require "rails/generators" require "rails/generators/rails/model/model_generator" require "rails/generators/rails/resource/resource_generator" module Rails module Generators class ResourceGenerator < ModelGenerator include ResourceHelpers hook_for :resource_template, :default => true do |template| invoke template, [ controller_name, options[:actions] ] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rabl-generators-0.1.1 | lib/rails/generators/resource_generator.rb |