Could you be more descriptive on what you're trying to accomplish? I think I don't fully understand it.
Anyway. I try to give you an answer.
Since stasis is a static-site generator, your controller actions don't have access to an actual request. The controller handles specific behavior while you're compiling your templates into static HTML files (which then can be served by your web server).
In other words, when your web server receives a request the controller actions won't be executed again. Hence you cannot access any query parameters from your controllers.
If you absolutely need this, stasis might not be the right tool for you. Maybe sinatra is the better fit for your project.
Could you be more descriptive on what you're trying to accomplish? I think I don't fully understand it.
Anyway. I try to give you an answer.
Since
stasis
is a static-site generator, your controller actions don't have access to an actual request. The controller handles specific behavior while you're compiling your templates into static HTML files (which then can be served by your web server).In other words, when your web server receives a request the controller actions won't be executed again. Hence you cannot access any query parameters from your controllers.
If you absolutely need this,
stasis
might not be the right tool for you. Maybe sinatra is the better fit for your project.