Make notes RSS feeds work

This commit is contained in:
Tom Hughes 2013-02-02 17:48:56 +00:00
parent 16a0f14f4a
commit ff73d12255
3 changed files with 35 additions and 1 deletions

View file

@ -1,4 +1,6 @@
module Nominatim
extend ActionView::Helpers::NumberHelper
def self.describe_location(lat, lon, zoom = nil, language = nil)
zoom = zoom || 14
language = language || request.user_preferred_languages.join(',')