X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4b4c5aac2f6e338fb043cd4d2a031c4bd6ee1b05:/app/views/notes/_note.rss.builder..b4dbf6233c3785e62af5bd313381f1844e5bbc19:/app/views/api/notes/_note.rss.builder diff --git a/app/views/notes/_note.rss.builder b/app/views/api/notes/_note.rss.builder similarity index 73% rename from app/views/notes/_note.rss.builder rename to app/views/api/notes/_note.rss.builder index 9c72b8a5d..4dc47d158 100644 --- a/app/views/notes/_note.rss.builder +++ b/app/views/api/notes/_note.rss.builder @@ -2,11 +2,11 @@ xml.item do location = describe_location(note.lat, note.lon, 14, locale) if note.closed? - xml.title t("notes.rss.closed", :place => location) + xml.title t("api.notes.rss.closed", :place => location) elsif note.comments.length > 1 - xml.title t("notes.rss.commented", :place => location) + xml.title t("api.notes.rss.commented", :place => location) else - xml.title t("notes.rss.opened", :place => location) + xml.title t("api.notes.rss.opened", :place => location) end xml.link browse_note_url(note)