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.
|
# Otherwise it falls back to the general description of its package.
|
||||||
def caption
|
def caption
|
||||||
if description.present?
|
if description.present?
|
||||||
"#{description}"
|
description
|
||||||
else
|
else
|
||||||
"#{package.description}"
|
package.description
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue