There was already a content_for snippet on the eruby snippet file.

Tags for Rails views should go there and not on the Ruby snippet file.
This commit is contained in:
Eustaquio Rangel 2011-07-06 12:11:20 -03:00
parent 9ff441a72e
commit faf3b63aeb
2 changed files with 2 additions and 7 deletions

View File

@ -34,9 +34,9 @@ snippet licai
snippet yield
<%= yield${1::content_symbol}%>${2}
snippet conf
<% content_for ${1::foo} do %>
<% content_for :${1:head} do %>
${2}
<% end -%>
<% end %>
# Ruby ******************************
snippet :
:${1:key} => ${2:"value"}${3}

View File

@ -554,8 +554,3 @@ snippet aft
#debugging
snippet debug
require 'ruby-debug'; debugger;
#views
snippet cfor
<% content_for :${1:head} do %>
${2}
<% end %>