<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,15 +10,10 @@ module Ramaze::SourceReloadHooks
 end
 
 class CSSController &lt; Ramaze::Controller
-  engine :Sass
-
-  helper :aspect
-  before_all do
-    response['Content-Type'] = 'text/css'
-    nil
-  end
+  helper :cache
+  provide :css, :type =&gt; 'text/css', :engine =&gt; :Sass
 
-  define_method('style.css') do
+  def style
     %(
 body
   font:
@@ -29,9 +24,8 @@ body
     )
   end
 
-  helper :cache
-  cache 'style.css'
+  cache_action :method =&gt; 'style'
 end
 
-# http://localhost:81/css/style.css
-Ramaze.start :adapter =&gt; :mongrel, :port =&gt; 81
+# http://localhost:7000/css/style.css
+Ramaze.start :adapter =&gt; :mongrel, :port =&gt; 7000</diff>
      <filename>examples/misc/css.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4dcc77d9d622354dca72feae646471b345d013dd</id>
    </parent>
  </parents>
  <author>
    <name>Michael Fellinger</name>
    <email>m.fellinger@gmail.com</email>
  </author>
  <url>http://github.com/manveru/ramaze/commit/cfef24976053316458f33bc00a0063d913dce223</url>
  <id>cfef24976053316458f33bc00a0063d913dce223</id>
  <committed-date>2009-06-30T03:45:19-07:00</committed-date>
  <authored-date>2009-06-30T03:45:19-07:00</authored-date>
  <message>Fix the misc/css example</message>
  <tree>8858b500b58fcb3deb82e5e772749b07c80948e7</tree>
  <committer>
    <name>Michael Fellinger</name>
    <email>m.fellinger@gmail.com</email>
  </committer>
</commit>
