Skip to content
Browse files

Correct the syntax. If you nest, then the first word of the nested bl…

…ock will become a tag; 'Find...' was being parsed a <find>...</find>.
  • Loading branch information...
1 parent 8c1dd4c commit d4428c61ceed75d9866e8342cad12d069f80c125 @Nerian Nerian committed Jan 31, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/generators/templates/view.slim
View
6 lib/generators/templates/view.slim
@@ -1,4 +1,2 @@
-h1
- <%= class_name %>Widget#<%= @state %>
-p
- Find me in <%= @path %>
+h1 <%= class_name %>Widget#<%= @state %>
+p Find me in <%= @path %>

0 comments on commit d4428c6

Please sign in to comment.
Something went wrong with that request. Please try again.