code_corps v0.0.1 CodeCorps.SluggedRoute View Source

A slugged route is used for routing slugged requests like /joshsmith or /code-corps to their respective owner: either a user or an organization.

Link to this section Summary

Functions

Builds a changeset based on the struct and params

Link to this section Types

Link to this type t() View Source
t() :: %CodeCorps.SluggedRoute{__meta__: term(), id: term(), inserted_at: term(), organization: term(), organization_id: term(), slug: term(), updated_at: term(), user: term(), user_id: term()}

Link to this section Functions

Link to this function changeset(struct, params \\ %{}) View Source

Builds a changeset based on the struct and params.

Link to this function create_changeset(struct, params) View Source