<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,9 +1,13 @@
 &lt;h1&gt;Customer&lt;/h1&gt;
 
+&lt;% if @customer -%&gt;
 &lt;p&gt; Name: &lt;%= h @customer.name %&gt; &lt;/p&gt;
 &lt;p&gt; Company: &lt;%= h @customer.company %&gt; &lt;/p&gt;
 &lt;p&gt; Address: &lt;%= h @customer.address %&gt; &lt;/p&gt;
 &lt;p&gt; Phone: &lt;%= h @customer.phone %&gt; &lt;/p&gt;
 &lt;p&gt; Website: &lt;%= h @customer.website %&gt; &lt;/p&gt;
 
+&lt;% else %&gt;
+&lt;p&gt; No customer assigned&lt;/p&gt;
+&lt;% end %&gt;
 &lt;%= render(:partial =&gt; 'menu') %&gt;
\ No newline at end of file</diff>
      <filename>app/views/customers/index.html.erb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9d6979ec407ed7f690a11f1818a0a6481fdadcb1</id>
    </parent>
  </parents>
  <author>
    <name>elomar.franca</name>
    <email>elomar.franca@2ba885dd-6bb3-41cd-a376-88fc31cd222d</email>
  </author>
  <url>http://github.com/elomar/customer-plugin/commit/b1baf89783dc3601299ca540459ca5efa32a60ee</url>
  <id>b1baf89783dc3601299ca540459ca5efa32a60ee</id>
  <committed-date>2009-10-05T03:34:55-07:00</committed-date>
  <authored-date>2009-10-05T03:34:55-07:00</authored-date>
  <message>Wrap view in a check for nil customer

git-svn-id: https://svn.renapi.org/customer-plugin/trunk@8 2ba885dd-6bb3-41cd-a376-88fc31cd222d</message>
  <tree>3e616fafc8e602f84a06fb11e6a1e0749d505220</tree>
  <committer>
    <name>elomar.franca</name>
    <email>elomar.franca@2ba885dd-6bb3-41cd-a376-88fc31cd222d</email>
  </committer>
</commit>
