reorganized shift templates files

This commit is contained in:
Adam Piontek 2021-03-11 16:57:20 -05:00
parent 243ebd8aa2
commit e0f8515566
13 changed files with 80 additions and 49 deletions
lib/shift73k

View file

@ -7,7 +7,6 @@ defmodule Shift73k.Accounts do
alias Shift73k.Repo
alias Shift73k.Accounts.{User, UserToken, UserNotifier}
alias Shift73kWeb.UserAuth
alias Shift73k.ShiftTemplates.ShiftTemplate
## Database getters

View file

@ -3,7 +3,7 @@ defmodule Shift73k.Accounts.User do
import Ecto.Changeset
import EctoEnum
alias Shift73k.ShiftTemplates.ShiftTemplate
alias Shift73k.Shifts.Templates.ShiftTemplate
@roles [
user: "Basic user level",

View file

@ -1,12 +1,12 @@
defmodule Shift73k.ShiftTemplates do
defmodule Shift73k.Shifts.Templates do
@moduledoc """
The ShiftTemplates context.
The Shifts.Templates context.
"""
import Ecto.Query, warn: false
alias Shift73k.Repo
alias Shift73k.ShiftTemplates.ShiftTemplate
alias Shift73k.Shifts.Templates.ShiftTemplate
@doc """
Returns the list of shift_templates.

View file

@ -1,4 +1,4 @@
defmodule Shift73k.ShiftTemplates.ShiftTemplate do
defmodule Shift73k.Shifts.Templates.ShiftTemplate do
use Ecto.Schema
import Ecto.Changeset