defmodule TuskerPushWeb.Router do use TuskerPushWeb, :router pipeline :api do plug :accepts, ["json"] end scope "/app", TuskerPushWeb do pipe_through :api resources "/registrations", RegistrationsController, only: [:create, :delete] end end