Class: Groundskeeper::Middleware::Path

Inherits:
Groundskeeper::Middleware show all
Defined in:
lib/groundskeeper/middleware/path.rb

Constant Summary collapse

PARSE_KEY =
:parse
PARSE_DEFAULT =
->(path) { path.split("/")[1] }
RACK_PATH_KEY =
"PATH_INFO"

Constants inherited from Groundskeeper::Middleware

DEFAULT_KEY, MODEL_KEY, NAMESPACE_KEY, QUERY_DEFAULT, QUERY_KEY, TENANT_KEY

Method Summary

Methods inherited from Groundskeeper::Middleware

#call, #initialize

Constructor Details

This class inherits a constructor from Groundskeeper::Middleware