rubocop
This commit is contained in:
parent
b601b2bbb6
commit
8d354785dc
1 changed files with 2 additions and 2 deletions
|
|
@ -19,9 +19,9 @@ class Screenshot < ApplicationRecord
|
|||
# Otherwise it falls back to the general description of its package.
|
||||
def caption
|
||||
if description.present?
|
||||
"#{description}"
|
||||
description
|
||||
else
|
||||
"#{package.description}"
|
||||
package.description
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue