Sha256: d9b73fabd7db8f63260dd71f2d85ba00501c22f28c223bb44f0334b5e8292cc8
Contents?: true
Size: 449 Bytes
Versions: 13
Compression:
Stored size: 449 Bytes
Contents
<% module_namespacing do -%> module Views class <%= class_name %>::<%= @action.camelize %> < Phlex::HTML include ApplicationView def template <%= "# " unless @has_layout %>render Layout.new(title: "<%= class_name.gsub("::", " ").titlecase %> - <%= @action.titlecase %>") do h1 { "<%= class_name %>#<%= @action %>" } p { "Find me in <%= @path %>" } <%= "# " unless @has_layout %>end end end end <% end %>
Version data entries
13 entries across 13 versions & 2 rubygems