From ba4e1d7abf4c7fc05d769ea04a1baa0d7523e168 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 7 Apr 2024 14:02:20 -0400 Subject: [PATCH] RegistrationsController -> AppRegistrationsController --- ...istrations_controller.ex => app_registrations_controller.ex} | 2 +- lib/tusker_push_web/router.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename lib/tusker_push_web/controllers/{registrations_controller.ex => app_registrations_controller.ex} (98%) 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