per line comment fix
This commit is contained in:
parent
8c46123f99
commit
3d7b35a37d
4 changed files with 34 additions and 11 deletions
|
@ -52,6 +52,10 @@ class Note < ActiveRecord::Base
|
|||
else
|
||||
noteable
|
||||
end
|
||||
# Temp fix to prevent app crash
|
||||
# if note commit id doesnt exist
|
||||
rescue
|
||||
nil
|
||||
end
|
||||
|
||||
def line_file_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue