• Patrick Derichs's avatar
    Use NotesFinder to fetch notes on API and Controllers · 7af3f0e0
    Patrick Derichs authored
    Add project override for epics
    
    Reverted previous changes
    
    Bring back parent type
    
    
    Bring back parent_type and added parent_id
    
    Fix style error
    
    parent_id must be an Integer
    
    Remove to_i here
    
    Fix call to find_noteable
    
    Remove commented out method
    
    Reduce code duplication by extracting
    a noteable module method
    
    The call to find_noteable was redundant so
    multiple files and lines have changed in that
    commit to use the newly introduced module
    method `noteable`.
    
    Replace casecmp with include check
    
    Add parent_type parameter
    
    Revert "Reduce code duplication by extracting
    a noteable module method"
    
    This reverts commit 8369ca8949.
    
    Method is no longer needed
    
    Method is no longer needed
    
    NotesFinder is able to handle Epics
    
    Revert "NotesFinder is able to handle Epics"
    
    This reverts commit 097062c6933b2e26176d5ac5c0393b753f52984c.
    
    Check whether noteable can be read by user
    7af3f0e0
notes_finder_spec.rb 10.9 KB