class Crack::Handler::Static
- Crack::Handler::Static
- Crack::Handler::Base
- Reference
- Object
Overview
The static handler returns static assets from the configured public
folder. The default public folder is ./public
.
Defined in:
crack/static.crConstructors
Class Method Summary
-
.instance
class method to return a singleton instance of this Controller
Instance Method Summary
-
#call(context)
Execution of this handler.
- #default_file : String
- #default_file=(default_file : String)
- #public_folder : String
- #public_folder=(public_folder : String)