Skip to content

Commit faf3b63

Browse files
committed
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.
1 parent 9ff441a commit faf3b63

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

snippets/eruby.snippets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ snippet licai
3434
snippet yield
3535
<%= yield${1::content_symbol}%>${2}
3636
snippet conf
37-
<% content_for ${1::foo} do %>
37+
<% content_for :${1:head} do %>
3838
${2}
39-
<% end -%>
39+
<% end %>
4040
# Ruby ******************************
4141
snippet :
4242
:${1:key} => ${2:"value"}${3}

snippets/ruby.snippets

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -554,8 +554,3 @@ snippet aft
554554
#debugging
555555
snippet debug
556556
require 'ruby-debug'; debugger;
557-
#views
558-
snippet cfor
559-
<% content_for :${1:head} do %>
560-
${2}
561-
<% end %>

0 commit comments

Comments
 (0)