<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>Snippets/resource_edit.tmSnippet</filename>
    </added>
    <added>
      <filename>Snippets/resource_show.tmSnippet</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -17,7 +17,7 @@
 
 &amp;lt;br /&amp;gt;
 
-&amp;lt;%= link_to 'New ${2}', url(:new_${2}) %&amp;gt;&lt;/string&gt;
+&amp;lt;%= link_to 'New ${2}', resource(:new_${2}) %&amp;gt;&lt;/string&gt;
 	&lt;key&gt;name&lt;/key&gt;
 	&lt;string&gt;resource_index&lt;/string&gt;
 	&lt;key&gt;scope&lt;/key&gt;</diff>
      <filename>Snippets/resource_index.tmSnippet</filename>
    </modified>
    <modified>
      <diff>@@ -3,20 +3,18 @@
 &lt;plist version=&quot;1.0&quot;&gt;
 &lt;dict&gt;
 	&lt;key&gt;content&lt;/key&gt;
-	&lt;string&gt;&amp;lt;%# Requires merb-helpers and merb-assets %&amp;gt;
-
-&amp;lt;h1&amp;gt;New ${1:singular_resource}&amp;lt;/h1&amp;gt;
+	&lt;string&gt;&amp;lt;h1&amp;gt;New ${1:singular_resource}&amp;lt;/h1&amp;gt;
 
 &amp;lt;%= error_messages_for :${1} %&amp;gt;
 
-&amp;lt;% form_for :${1}, :action =&amp;gt; url(:${1}s) do |f| %&amp;gt;
-  &amp;lt;p&amp;gt;&amp;lt;%= text_control :${2:attribute}, :label =&amp;gt; '${2}:' %&amp;gt;&amp;lt;/p&amp;gt;
+&amp;lt;%= form_for(@${1}, :action =&amp;gt; resource(@${1})) do %&amp;gt;
+  &amp;lt;p&amp;gt;&amp;lt;%= text_field :${2:attribute}, :label =&amp;gt; '${2/./\u$0/}' %&amp;gt;&amp;lt;/p&amp;gt;
   &amp;lt;p&amp;gt;
     &amp;lt;%= submit_button 'Create' %&amp;gt;
   &amp;lt;/p&amp;gt;
 &amp;lt;% end %&amp;gt;
 
-&amp;lt;%= link_to 'Back', :${1}s %&amp;gt;&lt;/string&gt;
+&amp;lt;%= link_to 'Back', resource(:${1}s) %&amp;gt;&lt;/string&gt;
 	&lt;key&gt;name&lt;/key&gt;
 	&lt;string&gt;resource_new&lt;/string&gt;
 	&lt;key&gt;scope&lt;/key&gt;</diff>
      <filename>Snippets/resource_new.tmSnippet</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1124d97eebaea15cb8a2dfbd72742f6b2f924e88</id>
    </parent>
  </parents>
  <author>
    <name>spdemac</name>
    <email>spdemac@dev.speedymac.com</email>
  </author>
  <url>http://github.com/drnic/merb-tmbundle/commit/8340d4fa1c141540beaaeeb87719f84737bae372</url>
  <id>8340d4fa1c141540beaaeeb87719f84737bae372</id>
  <committed-date>2008-12-17T06:10:54-08:00</committed-date>
  <authored-date>2008-10-30T15:47:43-07:00</authored-date>
  <message>Fixed resource snippets to use examples from Merb wiki
Added Edit and Show resource snippets

Signed-off-by: Dr Nic Williams &lt;drnicwilliams@gmail.com&gt;</message>
  <tree>8e0a7b8fa7e5a5d119b4f0bec4031f41a221e7ed</tree>
  <committer>
    <name>Dr Nic Williams</name>
    <email>drnicwilliams@gmail.com</email>
  </committer>
</commit>
