Browse Source

Remove week_stable as we don't need that ATM.

tags/0.3.0^2
Bèr Kessels 9 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
as_hash.slice('postcode', 'city', 'housenumber', 'street')
end

attribute :week_stable do
false
end

link :self do
# TODO: move into an URL-helper
"/nodes/#{@object.node_id}"

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

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

Loading…
Cancel
Save