]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/show.html.erb
Remove use of deprecated :comment attribute on link_to and button_to
[rails.git] / app / views / oauth_clients / show.html.erb
index 31f71ec9e13b26ab3afd875b5258e5b3fa588278..8139a2d73e644bac4ced2ac34be095e41ec163ff 100644 (file)
@@ -27,6 +27,6 @@
 <table>
 <tr>
 <td><%= button_to t('oauth_clients.show.edit'), edit_oauth_client_path(@client_application.user.display_name, @client_application), :method => :get %></td>
-<td><%= button_to t('oauth_clients.show.delete'), oauth_client_path(@client_application.user.display_name, @client_application), :method => :delete, :confirm => t('oauth_clients.show.confirm') %></td>
+<td><%= button_to t('oauth_clients.show.delete'), oauth_client_path(@client_application.user.display_name, @client_application), :method => :delete, :data => { :confirm => t('oauth_clients.show.confirm') } %></td>
 </tr>
 </table>