I am new to web development, and I am working on some simple ajax function and got the following error that may need your expert opinions.
Missing template ecpath_app_version/__version_list.js.erb in view path D:/Ruby/test/ssc_1/app/views
I know there is no js.erb file in app/view/<controller> folder, and I don't know what content should be in the js.erb. Are there any method to generate the js.erb file?
Attached is my code for your reference.
Thank for your help in advanced.