At the moment there doesn't seem to be a way to pass optional parameters to a generic action. So if there are any required arguments in the action an error is raised.
The way to have parameters now are path params but with query params they could be optional.
route :get, "/:foo/:bar/:baz", :read_data
Maybe the generic action arguments could be parsed from the query params.
At the moment there doesn't seem to be a way to pass optional parameters to a generic action. So if there are any required arguments in the action an error is raised.
The way to have parameters now are path params but with query params they could be optional.
Maybe the generic action arguments could be parsed from the query params.