diff --git a/lib/rubocop/cop/github/rails_view_render_literal.rb b/lib/rubocop/cop/github/rails_view_render_literal.rb index 4155c6d..fc2eae7 100644 --- a/lib/rubocop/cop/github/rails_view_render_literal.rb +++ b/lib/rubocop/cop/github/rails_view_render_literal.rb @@ -26,6 +26,7 @@ module RuboCop def_node_matcher :partial_key?, <<-PATTERN (pair (sym { + :file :layout :partial }) $_)