mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-12 01:52:49 +00:00
thread update/insert changeset fixed - auth permissions done
This commit is contained in:
@@ -3,9 +3,7 @@ defmodule MyAppWeb.UserController do
|
||||
alias MyAppWeb.Response
|
||||
|
||||
@spec index(map, map) :: any
|
||||
def index(conn, params) do
|
||||
IO.inspect(conn)
|
||||
IO.inspect(params)
|
||||
def index(conn, _params) do
|
||||
conn
|
||||
|> Response.json("Auth works!")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user