<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,7 +5,7 @@
     %link{:href =&gt; '/stylesheets/screen.css', :media =&gt; 'screen', :rel =&gt; 'stylesheet', :type =&gt; 'text/css'}
     %link{:href =&gt; '/stylesheets/mobile.css', :media =&gt; 'only screen and (max-device-width: 480px)', :rel =&gt; 'stylesheet', :type =&gt; 'text/css'}
     %link{:href =&gt; '/feed', :type =&gt; 'application/atom+xml', :rel =&gt; 'alternate', :title =&gt; 'Atom feed'}
-    - if session[:admin]
+    - if has_auth?
       %script{:type =&gt; 'text/javascript', :src =&gt; '/javascripts/jquery.min.js'}
       %script{:type =&gt; 'text/javascript', :src =&gt; '/javascripts/jquery.jeditable.mini.js'}
       %script{:type =&gt; 'text/javascript', :src =&gt; '/javascripts/usesthis.js'}
@@ -17,9 +17,9 @@
         %a{:href =&gt; &quot;http://usesthis.com/&quot;, :title =&gt; &quot;This is The Setup, a bunch of nerdy interviews.&quot;} the setup
         is a bunch of nerdy interviews
       %p#tagline What do people use to get the job done?
-      - if session[:admin]
+      - if has_auth?
         %p#admin
-          = &quot;Logged in as #{session[:admin][:name]}&quot;
+          = &quot;Logged in&quot;
           %a{:href =&gt; '/logout', :title =&gt; 'Give it up.'} (Logout)
     = yield
     %footer</diff>
      <filename>views/layout.haml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>234b0b065c445a8cefc4520243d6f1c1f1378ea9</id>
    </parent>
  </parents>
  <author>
    <name>Daniel Bogan</name>
    <email>github.com@waferbaby.com</email>
  </author>
  <url>http://github.com/waferbaby/usesthis/commit/7775b20432c42b11e713fc20bccbf385aee649eb</url>
  <id>7775b20432c42b11e713fc20bccbf385aee649eb</id>
  <committed-date>2009-11-01T01:33:49-07:00</committed-date>
  <authored-date>2009-11-01T01:33:49-07:00</authored-date>
  <message>Updated to use has_auth?.</message>
  <tree>3d100b191844fbb99fd40809a8d0011f010613b2</tree>
  <committer>
    <name>Daniel Bogan</name>
    <email>github.com@waferbaby.com</email>
  </committer>
</commit>
