Sha256: fe811f31c1f4dfc02f929c7b8b727ecb13ded23182c644ad56ba2240f8befd7e
Contents?: true
Size: 330 Bytes
Versions: 35
Compression:
Stored size: 330 Bytes
Contents
require "rails/generators" module Generators module Avo class ActionGenerator < Rails::Generators::NamedBase source_root File.expand_path("templates", __dir__) namespace "avo:action" def create_resource_file template "action.tt", "app/avo/actions/#{singular_name}.rb" end end end end
Version data entries
35 entries across 35 versions & 1 rubygems