File Index

<% any_hidden = false %>
    <% values[:files].each do |file| hide = file.name =~ /\.rb$/ any_hidden = true if hide %>><%= link_to(file.name, file.path) %> <% end %><% if any_hidden %>
  1. show all
  2. <% end %>