I am trying to make a call to a function using a mocha request to a
controller. The functions title is ‘index’ and the parameters are
‘Parameter1’ and ‘Parameter2’. In javascript it would be
SomethingController.index(Parameter1, Parameter2); [i think] but in
ruby, i don’t know how to get the second parameter to pass correctly.
Any help is appreciated.
new MUI.Panel({
id: 'something',
title: 'something',
contentURL: "<%=
SomethingController.r(:index,'Parameter1','Parameter2') %>",
.
.
.
.
.
JB