Skip to content

Commit

Permalink
cleanup motif
Browse files Browse the repository at this point in the history
  • Loading branch information
victormours committed Jan 13, 2025
1 parent d6278a6 commit 9cd2839
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/models/motif.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ class Motif < ApplicationRecord
SECTORISATION_LEVEL_DEPARTEMENT = "departement".freeze
SECTORISATION_TYPES = [SECTORISATION_LEVEL_AGENT, SECTORISATION_LEVEL_ORGANISATION, SECTORISATION_LEVEL_DEPARTEMENT].freeze

LOCATION_TYPES_HASH = { public_office: "public_office", phone: "phone", home: "home", visio: "visio" }.freeze
enum :location_type, LOCATION_TYPES_HASH
enum :location_type, { public_office: "public_office", phone: "phone", home: "home", visio: "visio" }
enum :bookable_by, {
agents: "agents",
agents_and_prescripteurs: "agents_and_prescripteurs",
Expand Down

0 comments on commit 9cd2839

Please sign in to comment.