Is there anyway to print this &1
?
I usually don’t know what the value is since was written by a generator, and doing IO.inspect(&1)
gives an error.
Example Usage:
def create(conn, %{"employee" => %{"email" => email}}) do
if employee = Staff.get_employee_by_email(email) do
Staff.deliver_employee_confirmation_instructions(
employee,
&Routes.employee_confirmation_url(conn, :edit, &1)
)
end