Sha256: 0270d09ae349c87cea0e6a8757ff8b1f35c9d198e3108be73a1ca639d783ebad
Contents?: true
Size: 300 Bytes
Versions: 18
Compression:
Stored size: 300 Bytes
Contents
# frozen_string_literal: true module Phlex module Generators class LayoutGenerator < ::Rails::Generators::NamedBase source_root File.expand_path("templates", __dir__) def create_view template "layout.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