aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/file_template.rb
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2019-03-19 14:58:28 -0700
committerJohn Hawthorn <john@hawthorn.email>2019-03-19 15:01:56 -0700
commita4bb6fd008550824ba44fe1f52b1f2a0721f2d2d (patch)
treebdf8b558a7162b6cd16f9c08ba30828b893b4bdd /actionview/lib/action_view/file_template.rb
parentf88ea5fd7413c01796707626c890927088b88cd8 (diff)
downloadrails-a4bb6fd008550824ba44fe1f52b1f2a0721f2d2d.tar.gz
rails-a4bb6fd008550824ba44fe1f52b1f2a0721f2d2d.tar.bz2
rails-a4bb6fd008550824ba44fe1f52b1f2a0721f2d2d.zip
Re-add Template#updated_at as deprecated
Diffstat (limited to 'actionview/lib/action_view/file_template.rb')
-rw-r--r--actionview/lib/action_view/file_template.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/file_template.rb b/actionview/lib/action_view/file_template.rb
index d838078f94..dea02176eb 100644
--- a/actionview/lib/action_view/file_template.rb
+++ b/actionview/lib/action_view/file_template.rb
@@ -22,11 +22,11 @@ module ActionView
# to ensure that references to the template object can be marshalled as well. This means forgoing
# the marshalling of the compiler mutex and instantiating that again on unmarshalling.
def marshal_dump # :nodoc:
- [ @identifier, @handler, @compiled, @locals, @virtual_path, @format, @variant ]
+ [ @identifier, @handler, @compiled, @locals, @virtual_path, @updated_at, @format, @variant ]
end
def marshal_load(array) # :nodoc:
- @identifier, @handler, @compiled, @locals, @virtual_path, @format, @variant = *array
+ @identifier, @handler, @compiled, @locals, @virtual_path, @updated_at, @format, @variant = *array
@compile_mutex = Mutex.new
end
end