Sha256: 417a42c49e42bc1e041a89144d3b22af807943c9c45dd4aa9a1ee81c756e557f
Contents?: true
Size: 330 Bytes
Versions: 5
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.rb', "app/avo/actions/#{singular_name}.rb" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems