diff --git a/lib/tusker_push_web/controllers/registrations_controller.ex b/lib/tusker_push_web/controllers/app_registrations_controller.ex similarity index 98% rename from lib/tusker_push_web/controllers/registrations_controller.ex rename to lib/tusker_push_web/controllers/app_registrations_controller.ex index ffdb789..23b6732 100644 --- a/lib/tusker_push_web/controllers/registrations_controller.ex +++ b/lib/tusker_push_web/controllers/app_registrations_controller.ex @@ -1,4 +1,4 @@ -defmodule TuskerPushWeb.RegistrationsController do +defmodule TuskerPushWeb.AppRegistrationsController do alias TuskerPush.Registration alias Ecto.Changeset use TuskerPushWeb, :controller diff --git a/lib/tusker_push_web/router.ex b/lib/tusker_push_web/router.ex index 33c6947..d64832d 100644 --- a/lib/tusker_push_web/router.ex +++ b/lib/tusker_push_web/router.ex @@ -9,7 +9,7 @@ defmodule TuskerPushWeb.Router do pipe_through :api scope "/v1" do - resources "/registrations", RegistrationsController, only: [:create, :update, :delete] + resources "/registrations", AppRegistrationsController, only: [:create, :update, :delete] end end