From faf3b63aeb290b8f99d3a7297cdad72256f46319 Mon Sep 17 00:00:00 2001 From: Eustaquio Rangel Date: Wed, 6 Jul 2011 12:11:20 -0300 Subject: [PATCH] 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. --- snippets/eruby.snippets | 4 ++-- snippets/ruby.snippets | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/snippets/eruby.snippets b/snippets/eruby.snippets index bebfc02..7c85b9b 100644 --- a/snippets/eruby.snippets +++ b/snippets/eruby.snippets @@ -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} diff --git a/snippets/ruby.snippets b/snippets/ruby.snippets index 4e584bd..53733fd 100644 --- a/snippets/ruby.snippets +++ b/snippets/ruby.snippets @@ -554,8 +554,3 @@ snippet aft #debugging snippet debug require 'ruby-debug'; debugger; -#views -snippet cfor - <% content_for :${1:head} do %> - ${2} - <% end %>