API Reference
Modules
Base form controller. Can be "inherited" from by using use Hr.BaseFormController
. A good example of this is in Hr.FormController
Base form controller. Can be "inherited" from by using use Hr.BaseJWTController
. A good example of this is in Hr.JWTController
The default implementation of FormController. If you want to override it, either direct your routes to your own implementation (if you want to just override a couple of actions), or implement YourApp.HrFormController
with use Hr.BaseFormController
Functionality for encoding and decoding JWT tokens with Joken
The default implementation of JWTController. If you want to override it, either direct your routes to your own implementation (if you want to just override a couple of actions), or implement YourApp.HrJWTController
with use Hr.BaseJWTController
Provides changesets for interacting with HRable models internally
Generate a model which is configured for use with HR. Contains a default configuration, and a commented example of the capabilities available to be "switched on"
Generates default templates into the parent application's web/template/hr_form
directory, customise them there
Install HR. This generates a config file, i18n messages and email templates