views:

11

answers:

0

I'm making use of hookbox which handles a socket for web. My browser sends information with javascript to hookbox and hookbox forwards the information to my ruby application.

The problem is that hookbox sends a parameter called action, so I assume it would look like this. /hookbox/index?action=connect&user=test, when I ask for the parameters, instead of connect I get the action index of course. Is there any way I can rewrite my routes so that it would be forwarded to /hookbox/connect&user=test

Kind Regards