Passing two or more parameters from mocha request

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

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