Fix various rubocop issues.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module NoteVersionsHelper
|
||||
def note_versions_listing_type
|
||||
(params.dig(:search, :post_id).present? || params.dig(:search, :note_id).present?) && CurrentUser.is_member? ? :revert : :standard
|
||||
((params.dig(:search, :post_id).present? || params.dig(:search, :note_id).present?) && CurrentUser.is_member?) ? :revert : :standard
|
||||
end
|
||||
|
||||
def note_version_body_diff_info(note_version)
|
||||
|
||||
Reference in New Issue
Block a user