From 96a12a9e0d8d51c5de2fcee90cd2ebb4a1f7f8bd Mon Sep 17 00:00:00 2001 From: James Brooks Date: Thu, 27 Nov 2014 14:01:38 +0000 Subject: [PATCH] Service model, with JSON decoding/encoding of attributes --- app/models/Service.php | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app/models/Service.php diff --git a/app/models/Service.php b/app/models/Service.php new file mode 100644 index 00000000..8f0899ac --- /dev/null +++ b/app/models/Service.php @@ -0,0 +1,11 @@ +attributes['properties'] = json_encode($properties); + } + }