public
Fork of drnic/ruby-on-rails-tmbundle
Description: Ruby on Rails TextMate bundle [master branch is svn trunk; patches to drnicwilliams@gmail.com]
Homepage: http://macromates.com
Clone URL: git://github.com/Infininight/ruby-on-rails-tmbundle.git
Search Repo:
Cleaned up link_to helpers
drnic (author)
Wed Feb 27 18:46:50 -0800 2008
commit  419a82d1dd43d1551037b41e37dd0564d85f5cd9
tree    a3cbd553324f25340dd0977650462003d56760a6
parent  54f7d8b9122482777af0ec0f4a222843bcc4630f
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>&lt;%= link_to "${1:link text...}", ${10:${2:parent}_${3:child}_path(${4:@}${5:${2}})} %&gt;</string>
0
+ <string>&lt;%= link_to ${1:"${2:link text...}"}, ${10:${3:parent}_${4:child}_path(${5:@}${6:${3}})} %&gt;</string>
0
   <key>name</key>
0
   <string>link_to (nested path plural)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>&lt;%= link_to "${1:link text...}", ${2:${12:parent}_${13:child}_path(${14:@}${15:${12}}, ${16:@}${17:${13}})} %&gt;</string>
0
+ <string>&lt;%= link_to ${1:"${2:link text...}"}, ${3:${12:parent}_${13:child}_path(${14:@}${15:${12}}, ${16:@}${17:${13}})} %&gt;</string>
0
   <key>name</key>
0
   <string>link_to (nested path)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>&lt;%= link_to "${1:link text...}", ${10:${2:model}s_path} %&gt;</string>
0
+ <string>&lt;%= link_to ${1:"${2:link text...}"}, ${10:${3:model}s_path} %&gt;</string>
0
   <key>name</key>
0
   <string>link_to (path plural)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>&lt;%= link_to "${1:link text...}", ${2:${12:model}_path(${13:@}${14:${12}})} %&gt;</string>
0
+ <string>&lt;%= link_to ${1:"${2:link text...}"}, ${3:${12:model}_path(${13:@}${14:${12}})} %&gt;</string>
0
   <key>name</key>
0
   <string>link_to (path)</string>
0
   <key>scope</key>

Comments

    No one has commented yet.