Sha256: 4370bc19f87cde5f63ecdec333083626dbb9b642abdd4c52c40dc0acf2fff8ca
Contents?: true
Size: 308 Bytes
Versions: 14
Compression:
Stored size: 308 Bytes
Contents
# frozen_string_literal: true module Phlex module Generators class CollectionGenerator < ::Rails::Generators::NamedBase source_root File.expand_path("templates", __dir__) def create_view template "collection.rb.erb", File.join("app/views", class_path, "#{file_name}.rb") end end end end
Version data entries
14 entries across 14 versions & 2 rubygems