Skip to content

Commit

Permalink
Fix memoization typo
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron committed Jan 14, 2025
1 parent 7378b29 commit 7e335a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/primer/forms/acts_as_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def template_root_path
end

def base_template_path
return @base_template_path if defined?(@base_path)
return @base_template_path if defined?(@base_template_path)
base_path = Utils.const_source_location(self.name)

if base_path
Expand Down

0 comments on commit 7e335a3

Please sign in to comment.