View Source LenraCommonWeb.ControllerHelpers (lenra_common v2.8.0-beta.1)

ApplicationRunner.ControllerHelpers give some helper functions to assign error/data to the conn and send the response to the view.

Summary

Functions

Link to this function

assign_data(conn, value)

View Source
This function is deprecated. Use reply/2 directly instead.
Link to this function

assign_error(conn, error)

View Source