From 19e3b659fde4b52cfb2e07fe096a8dcf829952ed Mon Sep 17 00:00:00 2001 From: echarp Date: Sat, 7 Nov 2015 14:45:50 +0100 Subject: [PATCH] The geojson can now also be limited by a number of days, using the daylimit parameter --- app/controllers/maps_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/maps_controller.rb b/app/controllers/maps_controller.rb index afd5c6d4..8e8af3f6 100644 --- a/app/controllers/maps_controller.rb +++ b/app/controllers/maps_controller.rb @@ -2,7 +2,7 @@ # # Access to OSM controls class MapsController < ApplicationController - has_scope :region, :locality, :tag + has_scope :region, :locality, :tag, :daylimit, :week has_scope :future, type: :boolean, default: true def index