diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2019-07-19 16:52:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-19 16:52:05 +0200 |
commit | 611339015fcc6056215edc6a95c20673a6245f7f (patch) | |
tree | a7541085c6ca13d838de2734718c26ec7d02bfd3 /actionview/lib | |
parent | 2caddbf8ae3e094b23be16af25a8b1040892f6b0 (diff) | |
parent | bd78d3eecf25aeb7da8e9c987b6ad00d522d7c80 (diff) | |
download | rails-611339015fcc6056215edc6a95c20673a6245f7f.tar.gz rails-611339015fcc6056215edc6a95c20673a6245f7f.tar.bz2 rails-611339015fcc6056215edc6a95c20673a6245f7f.zip |
Merge pull request #36713 from Shopify/fix-type-in-template
Fix a minor typo in ActionView::UnboundTemplate
Diffstat (limited to 'actionview/lib')
-rw-r--r-- | actionview/lib/action_view/unbound_template.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionview/lib/action_view/unbound_template.rb b/actionview/lib/action_view/unbound_template.rb index d28bab91b6..3d4434b2e9 100644 --- a/actionview/lib/action_view/unbound_template.rb +++ b/actionview/lib/action_view/unbound_template.rb @@ -4,9 +4,9 @@ require "concurrent/map" module ActionView class UnboundTemplate - def initialize(source, identifer, handler, options) + def initialize(source, identifier, handler, options) @source = source - @identifer = identifer + @identifier = identifier @handler = handler @options = options @@ -22,7 +22,7 @@ module ActionView options = @options.merge(locals: locals) Template.new( @source, - @identifer, + @identifier, @handler, options ) |