Missing js.erb template


Dear all

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

I know there is no js.erb file in app/view/ 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.



Dear all

I found that there is some logical problem in my code. I will review it.
Please ignore my post.

Thank you.