Move changeset comments controller to feeds module
This commit is contained in:
parent
30f975c609
commit
09d5ae68dd
11 changed files with 139 additions and 134 deletions
|
@ -246,6 +246,18 @@ en:
|
|||
entry:
|
||||
comment: Comment
|
||||
full: Full note
|
||||
feeds:
|
||||
changeset_comments:
|
||||
comment:
|
||||
comment: "New comment on changeset #%{changeset_id} by %{author}"
|
||||
commented_at_by_html: "Updated %{when} by %{user}"
|
||||
comments:
|
||||
comment: "New comment on changeset #%{changeset_id} by %{author}"
|
||||
index:
|
||||
title_all: OpenStreetMap changeset discussion
|
||||
title_particular: "OpenStreetMap changeset #%{changeset_id} discussion"
|
||||
timeout:
|
||||
sorry: "Sorry, the list of changeset comments you requested took too long to retrieve."
|
||||
account:
|
||||
deletions:
|
||||
show:
|
||||
|
@ -490,17 +502,6 @@ en:
|
|||
relations_paginated: "Relations (%{x}-%{y} of %{count})"
|
||||
timeout:
|
||||
sorry: "Sorry, the list of changesets you requested took too long to retrieve."
|
||||
changeset_comments:
|
||||
comment:
|
||||
comment: "New comment on changeset #%{changeset_id} by %{author}"
|
||||
commented_at_by_html: "Updated %{when} by %{user}"
|
||||
comments:
|
||||
comment: "New comment on changeset #%{changeset_id} by %{author}"
|
||||
index:
|
||||
title_all: OpenStreetMap changeset discussion
|
||||
title_particular: "OpenStreetMap changeset #%{changeset_id} discussion"
|
||||
timeout:
|
||||
sorry: "Sorry, the list of changeset comments you requested took too long to retrieve."
|
||||
dashboards:
|
||||
contact:
|
||||
km away: "%{count}km away"
|
||||
|
|
|
@ -126,7 +126,7 @@ OpenStreetMap::Application.routes.draw do
|
|||
resources :changesets, :path => "changeset", :id => /\d+/, :only => :show do
|
||||
match :subscribe, :unsubscribe, :on => :member, :via => [:get, :post]
|
||||
end
|
||||
get "/changeset/:id/comments/feed" => "changeset_comments#index", :as => :changeset_comments_feed, :id => /\d*/, :defaults => { :format => "rss" }
|
||||
get "/changeset/:id/comments/feed" => "feeds/changeset_comments#index", :as => :changeset_comments_feed, :id => /\d*/, :defaults => { :format => "rss" }
|
||||
resources :notes, :path => "note", :id => /\d+/, :only => [:show, :new]
|
||||
|
||||
get "/user/:display_name/history" => "changesets#index"
|
||||
|
@ -164,7 +164,7 @@ OpenStreetMap::Application.routes.draw do
|
|||
get "/communities" => "site#communities"
|
||||
get "/history" => "changesets#index"
|
||||
get "/history/feed" => "changesets#feed", :defaults => { :format => :atom }
|
||||
get "/history/comments/feed" => "changeset_comments#index", :as => :changesets_comments_feed, :defaults => { :format => "rss" }
|
||||
get "/history/comments/feed" => "feeds/changeset_comments#index", :as => :changesets_comments_feed, :defaults => { :format => "rss" }
|
||||
get "/export" => "site#export"
|
||||
get "/login" => "sessions#new"
|
||||
post "/login" => "sessions#create"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue