]> source.dussan.org Git - redmine.git/commitdiff
Rails 6: Use "render template:" instead of "render file:" in app/views/layouts/admin...
authorGo MAEDA <maeda@farend.jp>
Sun, 26 Jan 2020 22:09:47 +0000 (22:09 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 26 Jan 2020 22:09:47 +0000 (22:09 +0000)
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@19466 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/layouts/admin.html.erb

index 8f23129b4dc934f1d57c2dcb48e897b8420f1500..07f1943005d91a274acd147ec16e19f4e31c8e44 100644 (file)
@@ -5,4 +5,4 @@
   <% end %>
 <% end %>
 
-<%= render :file => "layouts/base" %>
+<%= render template: 'layouts/base' %>