You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm pretty sure this isn't possible at the moment, or maybe I'm just missing it, but I don't believe there's a way currently to build a URL from an action with globbed routing.
classReporting::Index < BrowserAction
get "/reporting/*:filter"do
plain_text filter
endend# Writing in a spec
client =ApiClient.new
# there's no way to set that filter
response = client.exec(Reporting::Index.with("???"))
The text was updated successfully, but these errors were encountered:
I may have worded the issue weird. Lucky supports glob routing already. The issue is if you want to construct the route in a spec, there's not a way to do that from the action class. Currently you have to do client.get("/the/path").
I'm pretty sure this isn't possible at the moment, or maybe I'm just missing it, but I don't believe there's a way currently to build a URL from an action with globbed routing.
The text was updated successfully, but these errors were encountered: