Skip to content

Commit

Permalink
fix end block
Browse files Browse the repository at this point in the history
  • Loading branch information
mjy committed Nov 19, 2019
1 parent e361423 commit ede51de
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app/models/concerns/shared/identifiers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@ def with_identifier_type_and_namespace_method(identifier_type, namespace_id, sor
q = (!q.nil? ? q.with_identifiers_sorted(sorted) : with_identifiers_sorted(sorted) ) if !sorted.blank?
q
end
end

def identified?
self.identifiers.any?
end

protected
def identified?
self.identifiers.any?
end

def reject_identifiers(attributed)
attributed['identifier'].blank? || attributed['type'].blank?
end
protected

def reject_identifiers(attributed)
attributed['identifier'].blank? || attributed['type'].blank?
end

end

0 comments on commit ede51de

Please sign in to comment.