rails render absolute path code example
Example: DEPRECATION WARNING: render file: should be given the absolute path to a file
diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb
index 8f23129b4..0ce74d104 100644
--- a/app/views/layouts/admin.html.erb
+++ b/app/views/layouts/admin.html.erb
@@ -5,4 +5,4 @@
<% end %>
<% end %>
-<%= render :file => "layouts/base" %>
+<%= render :template => 'layouts/base' %>
</diff>