]> git.openstreetmap.org Git - rails.git/commit
Replace role_icons helper with erb template
authorAnton Khorev <tony29@yandex.ru>
Mon, 21 Jul 2025 08:55:15 +0000 (11:55 +0300)
committerAnton Khorev <tony29@yandex.ru>
Mon, 21 Jul 2025 08:55:15 +0000 (11:55 +0300)
commita2d48d6527867cc38d7e94f356e45b8c45d64ceb
tree076ea290f556f814fd5adb72e9f3bebe88172492
parent5d260f6785e2a3ef728fb8925814c6daffad1db1
Replace role_icons helper with erb template

Goes in the opposite direction of 75300566e123c36599398cdd2e33f7b3e4e49808. The reasons for that commit are unclear because it produced larger code that later had to use safe_join.
app/helpers/user_roles_helper.rb
app/views/users/_role_icons.html.erb [new file with mode: 0644]
app/views/users/show.html.erb
test/helpers/user_roles_helper_test.rb