<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,67 +3,16 @@ class CrewsController &lt; ApplicationController
   ensure_authenticated_to_facebook
   
   def show
-    @crew = Crew.find_or_create_by_facebook_user_uid(facebook_session.user.uid)
-    respond_to do |format|
-      format.html
-      format.fbml
-      format.xml
-    end
-  end
-
-  # GET /crews/1/edit
-  def edit
-    @crew = Crew.find(params[:id])
-  end
-
-  # POST /crews
-  # POST /crews.xml
-  def create
-    @crew = Crew.new(params[:crew])
-
-    respond_to do |format|
-      if @crew.save
-        flash[:notice] = 'Crew was successfully created.'
-        format.html { redirect_to(@crew) }
-        format.fbml { redirect_to(@crew) }
-        format.xml  { render :xml =&gt; @crew, :status =&gt; :created, :location =&gt; @crew }
-      else
-        format.html { render :action =&gt; &quot;new&quot; }
-        format.fbml { render :action =&gt; &quot;new&quot; }
-        format.xml  { render :xml =&gt; @crew.errors, :status =&gt; :unprocessable_entity }
-      end
-    end
-  end
-
-  # PUT /crews/1
-  # PUT /crews/1.xml
-  def update
-    @crew = Crew.find(params[:id])
-
-    respond_to do |format|
-      if @crew.update_attributes(params[:crew])
-        flash[:notice] = 'Crew was successfully updated.'
-        format.html { redirect_to(@crew) }
-        format.fbml { redirect_to(@crew) }
-        format.xml  { head :ok }
-      else
-        format.html { render :action =&gt; &quot;edit&quot; }
-        format.fbml { render :action =&gt; &quot;edit&quot; }
-        format.xml  { render :xml =&gt; @crew.errors, :status =&gt; :unprocessable_entity }
+    begin
+      @crew = Crew.find_or_create_by_facebook_user_uid(facebook_session.user.uid)
+      respond_to do |format|
+        format.html
+        format.fbml
+        format.xml
       end
+    rescue StandardError =&gt; e
+      render :inline =&gt; &quot;&lt;%= debug(e) %&gt;&quot; and return false
     end
   end
 
-  # DELETE /crews/1
-  # DELETE /crews/1.xml
-  def destroy
-    @crew = Crew.find(params[:id])
-    @crew.destroy
-
-    respond_to do |format|
-      format.html { redirect_to(crews_url) }
-      format.fbml { redirect_to(crews_url) }
-      format.xml  { head :ok }
-    end
-  end
 end</diff>
      <filename>app/controllers/crews_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 ActionController::Routing::Routes.draw do |map|
   map.with_options(:controller =&gt; 'crews', :path_prefix =&gt; 'new_crew', :format =&gt; 'fbml') do |site|
-    site.connect '/', :action =&gt; :show
+    site.connect '/crews', :action =&gt; :show
   end
 end</diff>
      <filename>config/routes.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bc347fe3c9cb65bc82df6f2c25534caff4b4c78c</id>
    </parent>
  </parents>
  <author>
    <name>Bryan Taylor</name>
    <email>bryan@rubyisbeautiful.com</email>
  </author>
  <url>http://github.com/rubyisbeautiful/new_crew/commit/8d7a8c9a6f4d338186268bf4cf37c7bc57fa1761</url>
  <id>8d7a8c9a6f4d338186268bf4cf37c7bc57fa1761</id>
  <committed-date>2008-10-06T14:28:45-07:00</committed-date>
  <authored-date>2008-10-06T14:28:45-07:00</authored-date>
  <message>updates</message>
  <tree>e4e57668dfa6cd47cba095fdbfaf3b89278e3829</tree>
  <committer>
    <name>Bryan Taylor</name>
    <email>bryan@rubyisbeautiful.com</email>
  </committer>
</commit>
