Slightly improved the image status. Cruft removed.

This commit is contained in:
Christoph Haas 2015-04-25 20:05:38 +02:00
parent 6644d69e26
commit 4a5a50dd9a
3 changed files with 12 additions and 23 deletions

View file

@ -39,8 +39,8 @@ class Screenshot < ActiveRecord::Base
def status
text = ''
# Completes the sentence: 'This image...'
text = 'This image '
if self.approved
text << 'is public'
else