The geojson can now also be limited by a number of days, using the daylimit parameter
This commit is contained in:
parent
b8c83de708
commit
19e3b659fd
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Access to OSM controls
|
# Access to OSM controls
|
||||||
class MapsController < ApplicationController
|
class MapsController < ApplicationController
|
||||||
has_scope :region, :locality, :tag
|
has_scope :region, :locality, :tag, :daylimit, :week
|
||||||
has_scope :future, type: :boolean, default: true
|
has_scope :future, type: :boolean, default: true
|
||||||
|
|
||||||
def index
|
def index
|
||||||
|
Loading…
Reference in New Issue
Block a user