Skip to content

Commit 7a13fa1

Browse files
committed
Multiline file insert to welcome/index
cat <<EOT > app/views/welcome/index.html.erb <%= javascript_pack_tag 'application' %> <%= react_component 'Post', { title: 'A working react component', body: 'Simple but effective' }, prerender: true %> EOT
1 parent d763d8e commit 7a13fa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/welcome/index.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
<h1>Welcome#index</h1>
2-
<p>Find me in app/views/welcome/index.html.erb</p>
1+
<%= javascript_pack_tag 'application' %>
2+
<%= react_component 'Post', { title: 'A working react component', body: 'Simple but effective' }, prerender: true %>

0 commit comments

Comments
 (0)