Sha256: 4135e8dee73b54c4e7beabb38eac2e77d8004cfce4d5fac9b6c9317eb816fac6

Contents?: true

Size: 567 Bytes

Versions: 1

Compression:

Stored size: 567 Bytes

Contents

<h1><%= t(".title") %></h1>

<p><%= t(".description") %></p>

<hr>

<h2><%= t(".delete") %></h2>
<%= link_to t(".delete"), admin_cache_path, data: {confirm: t(".confirm")}, method: :delete, class: "btn btn-large btn-danger" %>

<hr>

<h2><%= t(".files_in_cache") %></h2>
<% if @files.any? %>
  <ul>
    <% @files.each do |file| %>
      <% next if File.directory?(file) %>
      <li><%= file.gsub(ActionController::Base.page_cache_directory,"") %></li>
    <% end %>
  </ul>
<% else %>
  <p><%= t(".no_files_are_cached") %></p>
<% end %>

<hr>

<%= render "config" %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
monologue-0.3.0 app/views/monologue/admin/cache/show.html.erb