Coherence v0.4.0 Coherence.RegistrationController

Handle account registration actions.

Actions:

  • new - render the register form
  • create - create a new user account
  • edit - edit the user account
  • update - update the user account
  • delete - delete the user account

Link to this section Summary

Functions

Create the new user account

Delete a registration

Edit the registration

Render the new user form

Show the registration page

Update the registration

Link to this section Types

Link to this type params()
params() :: Map.t
Link to this type schema()
schema() :: Ecto.Schema.t

Link to this section Functions

Link to this function create(conn, params)
create(conn, params) :: conn

Create the new user account.

Creates the new user account. Create and send a confirmation if this option is enabled.

Link to this function delete(conn, params)

Delete a registration.

Link to this function edit(conn, )
edit(conn, any) :: conn

Edit the registration.

Link to this function new(conn, params)
new(conn, params) :: conn

Render the new user form.

Link to this function show(conn, )
show(conn, any) :: conn

Show the registration page.

Link to this function update(conn, params)
update(conn, params) :: conn
update(conn, params) :: conn

Update the registration.