lib/utopia/setup/pages/_page.xnode in utopia-0.9.57 vs lib/utopia/setup/pages/_page.xnode in utopia-0.9.58
- old
+ new
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html>
<head>
- <?r response["Content-Type"] = "text/html; charset=utf-8" ?>
- <?r response["Cache-Control"] = "max-age=3600" ?>
+ <?r response.content_type! "text/html; charset=utf-8" ?>
+ <?r response.cache! ?>
<?r if title = (attributes["title"] || @title) ?>
<title>#{title.gsub(/<.*?>/, "")} - Utopia</title>
<?r else ?>
<title>Utopia</title>
\ No newline at end of file