We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm first to use drab on my new webapp. Currently drab is used in new/edit form, via before_hander.
before_hander
So I wanted to Drab only some actions like use Drab.Controller, only: [:new, :edit] but no luck.
Drab
use Drab.Controller, only: [:new, :edit]
Is there any way (or plan to) apply selected drabbing?
The text was updated successfully, but these errors were encountered:
In addition, how about allowing private function for onload, onconnect, and ondisconnect?
onload
onconnect
ondisconnect
It's unable to call private function for these callbacks.
Sorry, something went wrong.
use Drab.Controller is only for indicate that this controller has the corresponding commander. Commander for Drab is what controller is for phoenix.
use Drab.Controller
Please read the docs for controller, commander and readme.
About the callbacks handlers, they must be public functions.
No branches or pull requests
I'm first to use drab on my new webapp. Currently drab is used in new/edit form, via
before_hander
.So I wanted to
Drab
only some actions likeuse Drab.Controller, only: [:new, :edit]
but no luck.Is there any way (or plan to) apply selected drabbing?
The text was updated successfully, but these errors were encountered: