reorganized shift templates files
This commit is contained in:
parent
243ebd8aa2
commit
e0f8515566
13 changed files with 80 additions and 49 deletions
lib/shift73k
|
@ -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
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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.
|
|
@ -1,4 +1,4 @@
|
|||
defmodule Shift73k.ShiftTemplates.ShiftTemplate do
|
||||
defmodule Shift73k.Shifts.Templates.ShiftTemplate do
|
||||
use Ecto.Schema
|
||||
import Ecto.Changeset
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue