Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<!-- (...) -->
<%= csrf_meta_tag unless response.cache_control[:public] %>
<!-- (...) -->
</head>
<body>
<!-- (...) -->
<% unless response.cache_control[:public] %>