Sha256: b9a9d9ac7c8aa56922fc434640470fea3af7b982991cbd2a7b202c2960b5fe4e
Contents?: true
Size: 236 Bytes
Versions: 1
Compression:
Stored size: 236 Bytes
Contents
class <%= class_name.pluralize %>Controller < ResourceMultiUpdateController private def resource_params [ params.require(:<%= singular_name %>).permit(<%= @biz_attrs.collect { |attr| ":#{attr.name}" }.join(",") %>) ] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hatio-core-0.0.6 | lib/generators/hatio/resource_api/templates/controller.rb |