Extracts the redirection to database and table pages to the
HomeController for an actual redirection instead of an implicit one.
Removes the Application::getRequest() method as the ServerRequest object
should be an immutable object.
Adds a Routing::$route static variable to be used at the places that the
ServerRequest object is not available.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This method belongs to the ServerRequest class instead of the
ResponseRenderer class, as it's a request property.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Similar to the Http\ServerRequest::getParsedBodyParam method, this
method retrives a single parameter from the request query, or the
default value if not available.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
The route is retrieved from the request, so it makes sense to move the
method to the Http\ServerRequest class.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>