Skip to content

Commit

Permalink
Renamed preferences vars TM_TEMPLATE to RAILS_TEMPLATE for clarity (h…
Browse files Browse the repository at this point in the history
…opefully)
  • Loading branch information
lawrencepit committed Mar 6, 2008
1 parent 9a3e3de commit 7edadd1
Show file tree
Hide file tree
Showing 38 changed files with 50 additions and 50 deletions.
10 changes: 5 additions & 5 deletions Preferences/Template (ERB).tmPreferences
Expand Up @@ -12,31 +12,31 @@
<array>
<dict>
<key>name</key>
<string>TM_TEMPLATE_START_RUBY_EXPR</string>
<string>RAILS_TEMPLATE_START_RUBY_EXPR</string>
<key>value</key>
<string>&lt;%= </string>
</dict>
<dict>
<key>name</key>
<string>TM_TEMPLATE_END_RUBY_EXPR</string>
<string>RAILS_TEMPLATE_END_RUBY_EXPR</string>
<key>value</key>
<string> %&gt;</string>
</dict>
<dict>
<key>name</key>
<string>TM_TEMPLATE_START_RUBY_INLINE</string>
<string>RAILS_TEMPLATE_START_RUBY_INLINE</string>
<key>value</key>
<string>&lt;% </string>
</dict>
<dict>
<key>name</key>
<string>TM_TEMPLATE_END_RUBY_INLINE</string>
<string>RAILS_TEMPLATE_END_RUBY_INLINE</string>
<key>value</key>
<string> -%&gt;</string>
</dict>
<dict>
<key>name</key>
<string>TM_TEMPLATE_END_RUBY_BLOCK</string>
<string>RAILS_TEMPLATE_END_RUBY_BLOCK</string>
<key>value</key>
<string>&lt;% end -%&gt;</string>
</dict>
Expand Down
10 changes: 5 additions & 5 deletions Preferences/Template (Haml).tmPreferences
Expand Up @@ -12,31 +12,31 @@
<array>
<dict>
<key>name</key>
<string>TM_TEMPLATE_START_RUBY_EXPR</string>
<string>RAILS_TEMPLATE_START_RUBY_EXPR</string>
<key>value</key>
<string>= </string>
</dict>
<dict>
<key>name</key>
<string>TM_TEMPLATE_END_RUBY_EXPR</string>
<string>RAILS_TEMPLATE_END_RUBY_EXPR</string>
<key>value</key>
<string></string>
</dict>
<dict>
<key>name</key>
<string>TM_TEMPLATE_START_RUBY_INLINE</string>
<string>RAILS_TEMPLATE_START_RUBY_INLINE</string>
<key>value</key>
<string>- </string>
</dict>
<dict>
<key>name</key>
<string>TM_TEMPLATE_END_RUBY_INLINE</string>
<string>RAILS_TEMPLATE_END_RUBY_INLINE</string>
<key>value</key>
<string></string>
</dict>
<dict>
<key>name</key>
<string>TM_TEMPLATE_END_RUBY_BLOCK</string>
<string>RAILS_TEMPLATE_END_RUBY_BLOCK</string>
<key>value</key>
<string></string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/%3C%= Fixtures_identify(%3Asymbol) %%3E.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}Fixtures.identify(:${1:name})${TM_TEMPLATE_END_RUBY_EXPR}$0</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}Fixtures.identify(:${1:name})${RAILS_TEMPLATE_END_RUBY_EXPR}$0</string>
<key>name</key>
<string>&lt;%= Fixtures.identify(:symbol) %&gt;</string>
<key>scope</key>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/180 rails form_tag.plist
Expand Up @@ -3,9 +3,9 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_INLINE}form_tag(${1::action =&gt; "${5:update}"}${6:, {:${8:class} =&gt; "${9:form}"\}}) do${TM_TEMPLATE_END_RUBY_INLINE}
<string>${RAILS_TEMPLATE_START_RUBY_INLINE}form_tag(${1::action =&gt; "${5:update}"}${6:, {:${8:class} =&gt; "${9:form}"\}}) do${RAILS_TEMPLATE_END_RUBY_EXPR}
$0
${TM_TEMPLATE_END_RUBY_BLOCK}</string>
${RAILS_TEMPLATE_END_RUBY_BLOCK}</string>
<key>name</key>
<string>form_tag</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for check_box.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.check_box :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.check_box :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>form_for check_box</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for checkbox.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.check_box :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.check_box :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>f.check_box (ffcb)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for file_field 2.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.file_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.file_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>form_for file_field</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for file_field.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.file_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.file_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>f.file_field (ffff)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for hidden_field 2.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.hidden_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.hidden_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>form_for hidden_field</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for hidden_field.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.hidden_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.hidden_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>f.hidden_field (ffhf)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for label 2.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.label :${1:attribute}${2:, "${3:${1/[[:alpha:]]+|(_)/(?1: :\u$0)/g}}"}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.label :${1:attribute}${2:, "${3:${1/[[:alpha:]]+|(_)/(?1: :\u$0)/g}}"}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>form_for label</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for label.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.label :${1:attribute}${2:, "${3:${1/[[:alpha:]]+|(_)/(?1: :\u$0)/g}}"}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.label :${1:attribute}${2:, "${3:${1/[[:alpha:]]+|(_)/(?1: :\u$0)/g}}"}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>f.label (ffl)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for password_field 2.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.password_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.password_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>form_for password_field</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for password_field.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.password_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.password_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>f.password_field (ffpf)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for radio_box 2.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.radio_box :${1:attribute}, :${2:tag_value}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.radio_box :${1:attribute}, :${2:tag_value}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>form_for radio_box</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for radio_box.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.radio_box :${1:attribute}, :${2:tag_value}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.radio_box :${1:attribute}, :${2:tag_value}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>f.radio_box (ffrb)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for submit 2.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.submit "${1:Submit}"${2:, :disable_with =&gt; '${3:$1ing...}'}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.submit "${1:Submit}"${2:, :disable_with =&gt; '${3:$1ing...}'}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>form_for submit</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for submit.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.submit "${1:Submit}"${2:, :disable_with =&gt; '${3:$1ing...}'}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.submit "${1:Submit}"${2:, :disable_with =&gt; '${3:$1ing...}'}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>f.submit (ffs)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for text_area 2.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.text_area :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.text_area :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>form_for text_area</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for text_area.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.text_area :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.text_area :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>f.text_area (ffta)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for text_field 2.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.text_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.text_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>form_for text_field</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/form_for text_field.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}f.text_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.text_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>f.text_field (fftf)</string>
<key>scope</key>
Expand Down
6 changes: 3 additions & 3 deletions Snippets/form_for with errors.tmSnippet
Expand Up @@ -3,11 +3,11 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}error_messages_for :${1:model}${TM_TEMPLATE_END_RUBY_EXPR}
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}error_messages_for :${1:model}${RAILS_TEMPLATE_END_RUBY_EXPR}
${TM_TEMPLATE_START_RUBY_INLINE}form_for @${2:$1} do |f|${TM_TEMPLATE_END_RUBY_INLINE}
${RAILS_TEMPLATE_START_RUBY_INLINE}form_for @${2:$1} do |f|${RAILS_TEMPLATE_END_RUBY_INLINE}
$0
${TM_TEMPLATE_END_RUBY_BLOCK}</string>
${RAILS_TEMPLATE_END_RUBY_BLOCK}</string>
<key>name</key>
<string>form_for with errors</string>
<key>scope</key>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/form_for.tmSnippet
Expand Up @@ -3,9 +3,9 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_INLINE}form_for @${1:model} do |f|${TM_TEMPLATE_END_RUBY_INLINE}
<string>${RAILS_TEMPLATE_START_RUBY_INLINE}form_for @${1:model} do |f|${RAILS_TEMPLATE_END_RUBY_INLINE}
$0
${TM_TEMPLATE_END_RUBY_BLOCK}</string>
${RAILS_TEMPLATE_END_RUBY_BLOCK}</string>
<key>name</key>
<string>form_for</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/image_submit_tag.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}image_submit_tag("${1:agree.png}"${2:${3:, :id =&gt; "${4:${1/^(\w+)(\.\w*)?$/$1/}}"}${5:, :name =&gt; "${6:${1/^(\w+)(\.\w*)?$/$1/}}"}${7:, :class =&gt; "${8:${1/^(\w+)(\.\w*)?$/$1/}-button}"}${9:, :disabled =&gt; ${10:false}}})${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}image_submit_tag("${1:agree.png}"${2:${3:, :id =&gt; "${4:${1/^(\w+)(\.\w*)?$/$1/}}"}${5:, :name =&gt; "${6:${1/^(\w+)(\.\w*)?$/$1/}}"}${7:, :class =&gt; "${8:${1/^(\w+)(\.\w*)?$/$1/}-button}"}${9:, :disabled =&gt; ${10:false}}})${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>image_submit_tag</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/javascript_include_tag.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}javascript_include_tag ${1::all}${2:, :cache =&gt; ${3:true}}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}javascript_include_tag ${1::all}${2:, :cache =&gt; ${3:true}}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>javascript_include_tag</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/lia.plist
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :action =&gt; "${2:index}"${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :action =&gt; "${2:index}"${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>link_to (action)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/liai.plist
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :action =&gt; "${2:edit}", :id =&gt; ${3:@item}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :action =&gt; "${2:edit}", :id =&gt; ${3:@item}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>link_to (action, id)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/lic.plist
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :controller =&gt; "${2:items}"${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :controller =&gt; "${2:items}"${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>link_to (controller)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/lica.plist
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :controller =&gt; "${2:items}", :action =&gt; "${3:index}"${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :controller =&gt; "${2:items}", :action =&gt; "${3:index}"${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>link_to (controller, action)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/licai.plist
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :controller =&gt; "${2:items}", :action =&gt; "${3:edit}", :id =&gt; ${4:@item}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :controller =&gt; "${2:items}", :action =&gt; "${3:edit}", :id =&gt; ${4:@item}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>link_to (controller, action, id)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/link_to (nested path plural).tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${3:${10:parent}_${11:child}_path(${12:@}${13:${10}})}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${3:${10:parent}_${11:child}_path(${12:@}${13:${10}})}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>link_to (nested path plural)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/link_to (nested path).tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${3:${12:parent}_${13:child}_path(${14:@}${15:${12}}, ${16:@}${17:${13}})}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${3:${12:parent}_${13:child}_path(${14:@}${15:${12}}, ${16:@}${17:${13}})}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>link_to (nested path)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/link_to (path plural).tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${2:${10:model}s_path}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${2:${10:model}s_path}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>link_to (path plural)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/link_to (path).tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${3:${12:model}_path(${13:@}${14:${12}})}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${3:${12:model}_path(${13:@}${14:${12}})}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>link_to (path)</string>
<key>scope</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/link_to model.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>${TM_TEMPLATE_START_RUBY_EXPR}link_to ${1:model}.${2:name}, ${3:${4:$1}_path(${14:$1})}${TM_TEMPLATE_END_RUBY_EXPR}</string>
<string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to ${1:model}.${2:name}, ${3:${4:$1}_path(${14:$1})}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
<key>name</key>
<string>link_to model</string>
<key>scope</key>
Expand Down

0 comments on commit 7edadd1

Please sign in to comment.