diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 12c0efd83..c260315e9 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -153,14 +153,6 @@ Lint/SuppressedException: Exclude: - 'lib/tasks/testing.rake' -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: strict, consistent -Lint/SymbolConversion: - Exclude: - - 'app/helpers/crops_helper.rb' - # Offense count: 7 # This cop supports safe autocorrection (--autocorrect). Lint/UselessAssignment: diff --git a/app/helpers/crops_helper.rb b/app/helpers/crops_helper.rb index a313408ce..e331a1d05 100644 --- a/app/helpers/crops_helper.rb +++ b/app/helpers/crops_helper.rb @@ -62,7 +62,7 @@ module CropsHelper '@type': 'Person', name: post.author.login_name }, - 'datePublished': post.created_at + datePublished: post.created_at } end