Rename the react:component template to a .erb file
This commit is contained in:
parent
8a45592e5e
commit
c213e4d5d2
2 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ module React
|
|||
template_extension = if options[:coffee]
|
||||
'js.jsx.coffee'
|
||||
elsif options[:ts]
|
||||
'js.jsx.tsx'
|
||||
'js.jsx.tsx.erb'
|
||||
elsif options[:es6] || webpacker?
|
||||
'es6.jsx'
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue