Skip to content

Commit d6414ed

Browse files
authored
Merge pull request #1871 from denny/dependabot/bundler/rubocop-1.70.0
Bump rubocop from 1.69.2 to 1.70.0
2 parents 6e4e132 + d440cf8 commit d6414ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ GEM
661661
rspec
662662
rss (0.3.1)
663663
rexml
664-
rubocop (1.69.2)
664+
rubocop (1.70.0)
665665
json (~> 2.3)
666666
language_server-protocol (>= 3.17.0)
667667
parallel (~> 1.10)

plugins/ShinyCMS/app/public/controllers/concerns/shinycms/admin/with_posts.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def enforce_change_author_capability_for_update( category )
3030

3131
# Return true if the page we're on might need a WYSIWYG HTML editor
3232
def with_html_editor?
33-
action_name == 'new' || action_name == 'edit'
33+
%w[ new edit ].include? action_name
3434
end
3535
end
3636
end

0 commit comments

Comments
 (0)