<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,9 +1,9 @@
 class SuperSimpleCms::Controllers::ViewerController &lt; ApplicationController
   unloadable
   def index
-    group = SuperSimpleCms::Group.find(:first, :order=&gt;'position')
+    @current_group = SuperSimpleCms::Group.find(:first, :order=&gt;'position')
     # set_links(group.id)
-    @page = SuperSimpleCms::Page.find(:first, :conditions=&gt;['group_id = ? AND position = ?', group.id, 1])
+    @page = SuperSimpleCms::Page.find(:first, :conditions=&gt;['group_id = ? AND position = ?', @current_group.id, 1])
     if @page
       @title = @page.title
       render :template =&gt; 'viewer/show'</diff>
      <filename>lib/super_simple_cms/controllers/viewer_controller.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ec3576799fcef403fcf406885b7257351df6515a</id>
    </parent>
  </parents>
  <author>
    <name>Matt Vincent</name>
    <email>matt@averails.com</email>
  </author>
  <url>http://github.com/neshmi/super_simple_cms/commit/1e6b757d6faeb8ae332674ee10b3d105fcaedb19</url>
  <id>1e6b757d6faeb8ae332674ee10b3d105fcaedb19</id>
  <committed-date>2008-12-11T13:52:17-08:00</committed-date>
  <authored-date>2008-12-11T13:52:17-08:00</authored-date>
  <message>adding default current group to index</message>
  <tree>c2eabe980b9b635db40ec1bc79ff91ee8bd3cec8</tree>
  <committer>
    <name>Matt Vincent</name>
    <email>matt@averails.com</email>
  </committer>
</commit>
