[openstreetmap/openstreetmap-website] Move edit account action to show (PR #5696)
Anton Khorev
notifications at github.com
Mon Feb 17 14:29:54 UTC 2025
@AntonKhorev commented on this pull request.
> scope :module => :accounts do
resource :terms, :only => [:show, :update]
resource :pd_declaration, :only => [:show, :create]
resource :deletion, :only => :show
resource :home, :only => :show
end
end
+ get "/account/edit", :to => redirect(:path => "/account"), :as => nil
This one is even less likely to be linked:
https://github.com/openstreetmap/openstreetmap-website/blob/483f4c1341ee2b0eb438dc7704e4ba272d1e74fe/config/routes.rb#L300
Do we need it?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5696#discussion_r1958332760
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5696/review/2621229478 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250217/1d06feed/attachment.htm>
More information about the rails-dev
mailing list