Slightly improved the image status. Cruft removed.
This commit is contained in:
parent
6644d69e26
commit
4a5a50dd9a
3 changed files with 12 additions and 23 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue