acl v0.2.0 AclWeb.ChangesetView

Link to this section Summary

Functions

Returns true whenever the list of templates changes in the filesystem

The resource name, as an atom, for this view

Returns the template root alongside all templates

Renders the given template locally

Callback invoked when no template is found. By default it raises but can be customized to render a particular template

Traverses and translates changeset errors

Link to this section Functions

Link to this function

__phoenix_recompile__?()

Returns true whenever the list of templates changes in the filesystem.

The resource name, as an atom, for this view

Link to this function

__templates__()

Returns the template root alongside all templates.

Link to this function

render(template, assigns \\ %{})

Renders the given template locally.

Link to this function

template_not_found(template, assigns)
template_not_found(Phoenix.Template.name(), map()) :: no_return()

Callback invoked when no template is found. By default it raises but can be customized to render a particular template.

Link to this function

translate_errors(changeset)

Traverses and translates changeset errors.

See Ecto.Changeset.traverse_errors/2 and AclWeb.ErrorHelpers.translate_error/1 for more details.