summaryrefslogtreecommitdiff
path: root/app/views/revisions
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-06-25 04:35:21 +0200
committererdgeist <erdgeist@erdgeist.org>2026-06-25 04:35:21 +0200
commit5f8cc4fa269dadc895d99eec9ef3a82b17c5890a (patch)
tree048ffe4ef9e6b147eddbe6472312b72267d268d9 /app/views/revisions
parentf7a5944a1f44ede9881d368a36eb9f7d82d6ab69 (diff)
Rails 4.2 view fixes
- Replace :confirm => with :data => { :confirm => } in all link_to calls - Fix link_to_path helper: use content_path named route instead of hash-style routing - Fix admin/_menu.html.erb: use named routes for logout and admin index - Fix admin layout: load jquery/jquery_ujs before jquery-ui, remove duplicate jQuery 1.3.2 - Add csrf_meta_tags to admin layout
Diffstat (limited to 'app/views/revisions')
-rw-r--r--app/views/revisions/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/revisions/index.html.erb b/app/views/revisions/index.html.erb
index 306f9ea..e038ed2 100644
--- a/app/views/revisions/index.html.erb
+++ b/app/views/revisions/index.html.erb
@@ -31,7 +31,7 @@
31 'restore', 31 'restore',
32 restore_node_revision_path(@node, page), 32 restore_node_revision_path(@node, page),
33 :method => :put, 33 :method => :put,
34 :confirm => "Restore this revision?" 34 :data => { :confirm => "Restore this revision?" }
35 ) %> 35 ) %>
36 </td> 36 </td>
37 </tr> 37 </tr>