pablobm left a comment (openstreetmap/openstreetmap-website#6492)

For things like this, I'd suggest to move code to models (or dedicated Ruby 
classes) where they can be tested thoroughly without too much ceremony.

Here's an example: 
https://github.com/hlfan/openstreetmap-website/compare/editor-theme...pablobm:openstreetmap-website:editor-theme
 The second commit is refactor idea, take it or leave it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6492#issuecomment-3491093576
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/6492/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to