using sinatra, how do i send a message from one route to another? e.g. my "post /thing" route sets a var @msg, and my view in "get /" should <%= @msg %> but since "get /" is another route @msg isn't saved from "post /thing" to "get /"
i've been reading about how fetch() works and people are saying it is supposed to treat URIs as relative paths, except in my case it's not and i assume that's because it's being served by sinatra which is responding to "get '/'" even though rackup is running that app in response to a request for "/ttt"
not really, i'm just lamenting that i wasn't able to find a good cohesive rundown of the API and have to read through sections of the manual like the README or the config settings page and hope it has what i'm looking for