Sha256: 448b73d7cab3d3a124def1c605216bbedbbba7f773ededf681414b43d3a8beba
Contents?: true
Size: 378 Bytes
Versions: 16
Compression:
Stored size: 378 Bytes
Contents
<% controller_template = ERB.new(File.read(File.join(File.dirname(__FILE__), '/controller.erb')), trim_mode: '-').result(binding).strip -%> <% if @module_name.present? -%> module <%= @module_name %> <% controller_template.split("\n").each do |line| -%> <% if line.blank? -%> <% else -%> <%= line %> <% end -%> <% end -%> end <% else -%> <%= controller_template %> <% end -%>
Version data entries
16 entries across 16 versions & 1 rubygems