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
It has crossed my mind that we could think of possibly defining :resource_module option individually on a per-action basis:
:resource_module
@spec edit(Plug.Conn.t(), map()) :: Plug.Conn.t() @resource_module User def edit(conn, _param) do # ... end
or
@spec edit(Plug.Conn.t(), map()) :: Plug.Conn.t() def edit(conn, _param) do # ... end def resource_module(:edit), do: User
The text was updated successfully, but these errors were encountered:
[#1] Fix action retrieval in authorize_hook
d9103e1
Successfully merging a pull request may close this issue.
It has crossed my mind that we could think of possibly defining
:resource_module
option individually on a per-action basis:or
The text was updated successfully, but these errors were encountered: