Browse Source

Remove week_stable as we don't need that ATM.

develop^2
Bèr Kessels 2 months ago
parent
commit
9954237507
2 changed files with 0 additions and 5 deletions
  1. 0
    4
      app/serializers/node.rb
  2. 0
    1
      test/fixtures/json/nodes.json

+ 0
- 4
app/serializers/node.rb View File

@@ -19,10 +19,6 @@ module Hours
19 19
         as_hash.slice('postcode', 'city', 'housenumber', 'street')
20 20
       end
21 21
 
22
-      attribute :week_stable do
23
-        false
24
-      end
25
-
26 22
       link :self do
27 23
         # TODO: move  into an URL-helper
28 24
         "/nodes/#{@object.node_id}"

+ 0
- 1
test/fixtures/json/nodes.json View File

@@ -10,7 +10,6 @@
10 10
        "type" : "node",
11 11
        "attributes" : {
12 12
          "raw_opening_hours" : "Mo-We 10:00-18:00; Th 10:00-21:00; Fr 10:00-18:00; Sa 09:30-17:30",
13
-         "week_stable" : false,
14 13
          "open_this_week" : {
15 14
            "1": [{
16 15
              "start" : "1989-11-06 10:00:00 +0100",

Loading…
Cancel
Save