]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/show.html.erb
Prefer string interpolation to concatenation in erb files
[rails.git] / app / views / oauth_clients / show.html.erb
index 5f828a05798495a1a146bdf10fc68eb4841b2236..e6aa85e3e7307f908c6bdc36bfd9187ec8a5c21c 100644 (file)
@@ -19,7 +19,7 @@
   <p><%= t ".requests" %></p>
   <ul>
     <% @client_application.permissions.each do |perm| %>
-      <li><%= t("activerecord.attributes.client_application." + perm.to_s) %></li>
+      <li><%= t("activerecord.attributes.client_application.#{perm}") %></li>
     <% end %>
   </ul>
   <p><%= t ".support_notice" %></p>