aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosef Šimánek <josef.simanek@gmail.com>2016-01-26 00:30:20 +0100
committerJosef Šimánek <josef.simanek@gmail.com>2016-01-26 00:30:20 +0100
commit7f71b4d8a4744e26fcec7be13efb243e73ffd3ce (patch)
treef9f9b6375412f9e9ecce65d1b3996438c9f52dcd
parent3b4398bb605cc7b6f475bf76c19aa0702700a199 (diff)
downloadrails-7f71b4d8a4744e26fcec7be13efb243e73ffd3ce.tar.gz
rails-7f71b4d8a4744e26fcec7be13efb243e73ffd3ce.tar.bz2
rails-7f71b4d8a4744e26fcec7be13efb243e73ffd3ce.zip
Use Ruby 1.8 compat syntax in actionpack/lib/action_view/template/resolver.rb.
closes GH-23248
-rw-r--r--actionpack/lib/action_view/template/resolver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/template/resolver.rb b/actionpack/lib/action_view/template/resolver.rb
index c6db6685e4..d3a6d1a3b8 100644
--- a/actionpack/lib/action_view/template/resolver.rb
+++ b/actionpack/lib/action_view/template/resolver.rb
@@ -110,7 +110,7 @@ module ActionView
super()
end
- cattr_accessor :allow_external_files, instance_reader: false, instance_writer: false
+ cattr_accessor :allow_external_files, :instance_reader => false, :instance_writer => false
self.allow_external_files = false
private