Citestore Plugin

Try

get '/citestores/:param_a/:param_b', to: 'citestores#show'
ajax('/citestores/wark/foo')

Alternatively, can also pass whatever params you’d like through the ‘data’ field with ajax:

ajax('/citestores/1.json', { data: { param_b: 'wark' } })

This builds a GET request like this:

/citestores/1.json?param_b=wark

which can be picked up in the params on the server side.

params[:param_b] # => 'wark'