Sha256: 3687c480daf7b06f4ee2ec47682ca6195526f17d23d03148c6fcd0f77fbc99b0
Contents?: true
Size: 283 Bytes
Versions: 1
Compression:
Stored size: 283 Bytes
Contents
<% provide(:title, 'Templates') %> <div> <% Dir.children('./app/views/templates').excluding('partials').sort.each do |child| %> <%= link_to child.chomp('.html.erb').humanize.titleize, template_path(child.chomp('.html.erb')), class: 'button button--blue' %> <% end %> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
templates-rails-0.1.0 | app/views/templates/templates/index.html.erb |