No route matches "/undefined" with {:method=>:get}

I use to show the text on pop windows using javascript but it gives the
error,
I refer the forum in that i got the semi result is that change the
controller name but i canit change the controller name. so what to
do???
that message is display with another javascript

the pop window is open but it gives the “No route matches “/undefined”
with {:method=>:get}” this error

How to solve this problem?

Sushrut S. wrote:

I use to show the text on pop windows using javascript but it gives the
error,
I refer the forum in that i got the semi result is that change the
controller name but i canit change the controller name. so what to
do???
that message is display with another javascript

the pop window is open but it gives the “No route matches “/undefined”
with {:method=>:get}” this error

How to solve this problem?

you have a javascript problem and no rails problem.
you try to use the value of a undefined variable to define the route
path, right? check your js code.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs