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