sheriff v0.3.0 Sheriff.Plug.LoadResource

Load the requested resource and store it on the connection.

Summary

Functions

Loads a resource for the requested path. In the event of an error resource_missing/1 will be invoked on the configured error handler

Functions

call(conn, opts)
call(Plug.Conn.t, keyword) :: Plug.Conn.t

Loads a resource for the requested path. In the event of an error resource_missing/1 will be invoked on the configured error handler.