Sha256: c28609248bbbfaa640554e42f2b9f6c99e57ceba1718d887d6b173f009e4ae21

Contents?: true

Size: 212 Bytes

Versions: 3

Compression:

Stored size: 212 Bytes

Contents

# frozen_string_literal: true

<% module_namespacing do -%>
class <%= class_name %>View < ApplicationView
  def view_template
    h1 { "<%= class_name %>" }
    p { "Find me in <%= @path %>" }
  end
end<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phlex-rails-1.2.2 lib/generators/phlex/view/templates/view.rb.erb
phlex-rails-1.2.1 lib/generators/phlex/view/templates/view.rb.erb
phlex-rails-1.2.0 lib/generators/phlex/view/templates/view.rb.erb