Sha256: 47c57bcb8f4b5d6ca954a00671bb32eb5e8a0a0630416a0fc44c1fa1bb672e77

Contents?: true

Size: 247 Bytes

Versions: 10

Compression:

Stored size: 247 Bytes

Contents

# frozen_string_literal: true

<% module_namespacing do -%>
class <%= class_name %>::<%= @action.classify %>View < ApplicationView
  def template
    h1 { "<%= class_name %> <%= @action %>" }
    p { "Find me in <%= @path %>" }
  end
end<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
phlex-rails-1.1.2 lib/generators/phlex/controller/templates/view.rb.erb
phlex-rails-1.1.1 lib/generators/phlex/controller/templates/view.rb.erb
phlex-rails-1.1.0 lib/generators/phlex/controller/templates/view.rb.erb
phlex-rails-1.0.0 lib/generators/phlex/controller/templates/view.rb.erb
phlex-rails-0.10.0 lib/generators/phlex/controller/templates/view.rb.erb
phlex-rails-0.8.1 lib/generators/phlex/controller/templates/view.rb.erb
phlex-rails-0.9.0 lib/generators/phlex/controller/templates/view.rb.erb
phlex-rails-0.8.0 lib/generators/phlex/controller/templates/view.rb.erb
phlex-rails-0.7.1 lib/generators/phlex/controller/templates/view.rb.erb
phlex-rails-0.7.0 lib/generators/phlex/controller/templates/view.rb.erb