Current section
Files
Jump to
Current section
Files
priv/templates/thesis.install/thesis_auth.exs
defmodule <%= base %>.ThesisAuth do
@moduledoc """
Contains functions for handling Thesis authorization.
"""
@behaviour Thesis.Auth
def page_is_editable?(_conn) do
# Editable by the world
true
# Or use your own auth strategy. Learn more:
# https://github.com/infinitered/thesis-phoenix#authorization
end
end