Defect #119 ยป delete_useless_test.diff
app/models/attachment.rb (working copy) | ||
---|---|---|
89 | 89 |
end |
90 | 90 | |
91 | 91 |
def project |
92 |
container.is_a?(Project) ? container : container.project
|
|
92 |
container.project |
|
93 | 93 |
end |
94 | 94 |
|
95 | 95 |
def image? |