# Javascript links not working in production mode

**URL:** <https://www.ruby-forum.com/t/javascript-links-not-working-in-production-mode/192087>\
**Category:** Rails\
**Created:** [July 23, 2010, 3:48pm UTC](https://www.ruby-forum.com/t/javascript-links-not-working-in-production-mode/192087 "2010-07-23T15:48:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hemantborole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Post date:** [July 23, 2010, 3:48pm UTC](https://www.ruby-forum.com/t/javascript-links-not-working-in-production-mode/192087/1 "2010-07-23T15:48:10Z")

</div>

Hello guys,

I have some stupid kind of problem with me. Hope you guys can help me to  
get rid of it. The problem is that in javascript i am making ajax  
requests manually just by giving links. So when that function get called  
in javascipt ajax request will generate and perform the function. I  
given the links as:-  
“resumes/action?parameters=whatever”. It is all working in development  
phase. So, i deployed it. But now these links only are not working i  
mean these links require me to prepend with application name just like  
as “application\_name/resumes/action?parameters=whatever”.  
So after googling also i did’nt find any clearer solution to this.  
Please light me some direction.
