RegistrationsController -> AppRegistrationsController
This commit is contained in:
parent
56b93d42e5
commit
ba4e1d7abf
|
@ -1,4 +1,4 @@
|
||||||
defmodule TuskerPushWeb.RegistrationsController do
|
defmodule TuskerPushWeb.AppRegistrationsController do
|
||||||
alias TuskerPush.Registration
|
alias TuskerPush.Registration
|
||||||
alias Ecto.Changeset
|
alias Ecto.Changeset
|
||||||
use TuskerPushWeb, :controller
|
use TuskerPushWeb, :controller
|
|
@ -9,7 +9,7 @@ defmodule TuskerPushWeb.Router do
|
||||||
pipe_through :api
|
pipe_through :api
|
||||||
|
|
||||||
scope "/v1" do
|
scope "/v1" do
|
||||||
resources "/registrations", RegistrationsController, only: [:create, :update, :delete]
|
resources "/registrations", AppRegistrationsController, only: [:create, :update, :delete]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue