<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>views/panel.html.erb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,14 +1,12 @@
 class UnfuddleNotifier
+  require 'action_view'
+  
   def initialize(app)
     @app = app
   end
   
   def call(env)
-    @session = Unfuddle::Session.new
-    @project = Unfuddle::Project.find(:one, :from =&gt; &quot;/projects/20935&quot;)
-    @tickets = @project.tickets
     status, headers, response = @app.call(env)
-    [status, headers, &quot;&lt;div style='background-color: blue; color: white; font-weight: bold;'&gt;
-      #{@project.title} has #{@tickets.size} tickets&lt;/div&gt;&quot; + response.body]
+    [status, headers, ActionView::Template.render(&quot;panel&quot;, &quot;views&quot;) + response.body]
   end
 end
\ No newline at end of file</diff>
      <filename>lib/unfuddle_notifier.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ab03811f8f9ce8f143cda8060b7e5811fd031ce3</id>
    </parent>
  </parents>
  <author>
    <name>timmatheson</name>
    <email>me@timmatheson.com</email>
  </author>
  <url>http://github.com/timmatheson/Unfuddle/commit/31d57ba2aeb70a1b41503c121db505141f31a808</url>
  <id>31d57ba2aeb70a1b41503c121db505141f31a808</id>
  <committed-date>2009-05-27T02:26:33-07:00</committed-date>
  <authored-date>2009-05-27T02:26:33-07:00</authored-date>
  <message>Adding action view to the rack app</message>
  <tree>5427ca4b103a673d27642b84d37f8a533ea26085</tree>
  <committer>
    <name>timmatheson</name>
    <email>me@timmatheson.com</email>
  </committer>
</commit>
