<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,7 @@
 # Facebook Skeleton App
 # from Mark Daggett (http://www.locusfoc.us)
+canvas_name = ask(&quot;What is your Facebook application's canvas name?&quot;)
+
 
 # Plugins
 plugin 'rspec',              :git =&gt; 'git://github.com/dchelimsky/rspec.git'
@@ -187,7 +189,6 @@ file 'app/controllers/accounts_controller.rb',
   # GET /show/1
   # GET /show/1.fbml
   def show
-    @index = 0
     respond_to do |format|
       format.fbml {} # show.fbml
     end
@@ -846,7 +847,7 @@ route &quot;map.about '/about', :controller =&gt; 'facebook', :action =&gt; 'about'&quot;
 # Post-Authorize URL
 # http://apps.facebook.com/FACEBOOK_APP_NAME/authorized
 route &quot;map.authorized '/authorized', :controller =&gt; 'facebook', :action =&gt; 'authorized'&quot;
-route &quot;map.bp_authorized '/FACEBOOK_APP_NAME/authorized', :controller =&gt; 'facebook', :action =&gt; 'authorized'&quot;
+route &quot;map.bp_authorized '/#{canvas_name}/authorized', :controller =&gt; 'facebook', :action =&gt; 'authorized'&quot;
 
 # Post-Authorize Redirect URL
 # http://apps.facebook.com/FACEBOOK_APP_NAME/authorize_redirect</diff>
      <filename>facebook.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a38d52208901fa580a18a983bf93cfc0e9aa344c</id>
    </parent>
  </parents>
  <author>
    <name>Mark Daggett</name>
    <email>heavysixer@mark-daggetts-macbook-pro.local</email>
  </author>
  <url>http://github.com/jeremymcanally/rails-templates/commit/a552d815fd7ba0ea1d5f8ff948d408aaddb86651</url>
  <id>a552d815fd7ba0ea1d5f8ff948d408aaddb86651</id>
  <committed-date>2009-04-09T15:48:48-07:00</committed-date>
  <authored-date>2009-02-06T10:44:05-08:00</authored-date>
  <message>asking the user what their canvas name is instead of forcing the user to change the routes later (which they'll forget to do)

Signed-off-by: Jeremy McAnally &lt;jeremymcanally@gmail.com&gt;</message>
  <tree>7159e4d9c0aff19c7b5b99e614c5d35f9c91b9ef</tree>
  <committer>
    <name>Jeremy McAnally</name>
    <email>jeremymcanally@gmail.com</email>
  </committer>
</commit>
