diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-08-01 15:12:53 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-08-01 15:15:06 -0300 |
commit | 89177ba2000d6f587364d7ed8f8bf7ecd92e17cf (patch) | |
tree | 4b7ed12cc485ca34b834ec9162cf813c89ca8c3a /railties/lib/rails/generators/erb/scaffold/templates/index.html.erb | |
parent | 736bf14d7c15776f17f6e096dba5024a36d15580 (diff) | |
download | rails-89177ba2000d6f587364d7ed8f8bf7ecd92e17cf.tar.gz rails-89177ba2000d6f587364d7ed8f8bf7ecd92e17cf.tar.bz2 rails-89177ba2000d6f587364d7ed8f8bf7ecd92e17cf.zip |
Revert "Deprecate `:confirm` in favor of `:data => { :confirm => 'Text' }` option"
Revert "Deprecate `:disable_with` in favor of `'data-disable-with'` option for `button_to` and `submit_tag` helpers."
This reverts commit fc092a9cba5fceec38358072e50e09250cf58840.
This reverts commit e9051e20aeb2c666db06b6217954737665878db7.
This reverts commit d47d6e7eda3aa3e6aa28d0c17ac6801234bb97d1.
This reverts commit 21141e777bdce8534e3755c8de7268324b3d8714.
Diffstat (limited to 'railties/lib/rails/generators/erb/scaffold/templates/index.html.erb')
-rw-r--r-- | railties/lib/rails/generators/erb/scaffold/templates/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/erb/scaffold/templates/index.html.erb b/railties/lib/rails/generators/erb/scaffold/templates/index.html.erb index a7c12b9026..7b1a2a1841 100644 --- a/railties/lib/rails/generators/erb/scaffold/templates/index.html.erb +++ b/railties/lib/rails/generators/erb/scaffold/templates/index.html.erb @@ -17,7 +17,7 @@ <% end -%> <td><%%= link_to 'Show', <%= singular_table_name %> %></td> <td><%%= link_to 'Edit', edit_<%= singular_table_name %>_path(<%= singular_table_name %>) %></td> - <td><%%= link_to 'Destroy', <%= singular_table_name %>, <%= key_value :method, ":delete" %>, <%= key_value :data, "{ #{key_value :confirm, "'Are you sure?'"} }" %> %></td> + <td><%%= link_to 'Destroy', <%= singular_table_name %>, <%= key_value :confirm, "'Are you sure?'" %>, <%= key_value :method, ":delete" %> %></td> </tr> <%% end %> </table> |