<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,24 +1,12 @@
 class ProfileController &lt; ApplicationController
-  # GET /profiles
-  # GET /profiles.xml
-  def index
-    @profiles = Profile.find(:all)
+  ensure_authenticated_to_facebook
 
-    respond_to do |format|
-      format.html # index.html.erb
-      format.fbml # index.fbml.erb
-      format.xml  { render :xml =&gt; @profiles }
-    end
-  end
-
-  # GET /profiles/1
-  # GET /profiles/1.xml
   def show
-    @profile = Profile.find(params[:id])
-
+    @facebook_user = @facebook_session.user
+    @profile = @facebook_user.profile
     respond_to do |format|
-      format.html # show.html.erb
-      format.fbml # show.fbml.erb
+      format.html
+      format.fbml
       format.xml  { render :xml =&gt; @profile }
     end
   end</diff>
      <filename>app/controllers/profile_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,5 +6,5 @@ ActionController::Routing::Routes.draw do |map|
     site.connect '/:controller/:action'
   end
   
-  map.connect '/', :controller =&gt; 'profile'
+  map.connect '/', :controller =&gt; 'profile', :action =&gt; &quot;show&quot;
 end</diff>
      <filename>config/routes.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6f243f97a173aa741743d3cc1d7d87ac2b6651dc</id>
    </parent>
  </parents>
  <author>
    <name>Bryan Taylor</name>
    <email>bryan@rubyisbeautiful.com</email>
  </author>
  <url>http://github.com/rubyisbeautiful/new_crew/commit/dd05dac811e5dc5820312fb244fffcaaa85e72cc</url>
  <id>dd05dac811e5dc5820312fb244fffcaaa85e72cc</id>
  <committed-date>2008-10-06T19:30:56-07:00</committed-date>
  <authored-date>2008-10-06T19:30:56-07:00</authored-date>
  <message>update</message>
  <tree>32f564baa68db7f3c8bcb6d0fc1da3f0c93e461f</tree>
  <committer>
    <name>Bryan Taylor</name>
    <email>bryan@rubyisbeautiful.com</email>
  </committer>
</commit>
