Mobilizon
v5.0.0-beta.1
Pages
Modules
Mix
Tasks
Search documentation of Mobilizon
Settings
View Source
Mobilizon.Posts.Post.TitleSlug
(Mobilizon v5.0.0-beta.1)
Module to generate the slug for posts
Summary
Functions
build_slug(sources)
build_slug(sources, arg2)
force_generate_slug(changeset)
get_sources(changeset, opts)
maybe_generate_slug(changeset)
unique_constraint(changeset, opts \\ [])
Functions
Link to this function
build_slug(sources)
View Source
Link to this function
build_slug(sources, arg2)
View Source
@spec
build_slug([
String.t
()],
any
()) ::
String.t
() | nil
Link to this function
force_generate_slug(changeset)
View Source
Link to this function
get_sources(changeset, opts)
View Source
Link to this function
maybe_generate_slug(changeset)
View Source
Link to this function
unique_constraint(changeset, opts \\ [])
View Source