summaryrefslogtreecommitdiff
path: root/dichroism/src/models/photo.rs
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-11-16 19:55:48 -0500
committerAdam T. Carpenter <atc@53hor.net>2020-11-16 19:55:48 -0500
commitfe5403014267b81142581f54c38e4576a391ea6f (patch)
treee5ad97d3cc08f41ac7b7ba9eb42362528cd7da7f /dichroism/src/models/photo.rs
parent9c5b036bd537f1465e3ecacbc98a192f98a84e7f (diff)
downloadtheglassyladies-fe5403014267b81142581f54c38e4576a391ea6f.tar.xz
theglassyladies-fe5403014267b81142581f54c38e4576a391ea6f.zip
Thumbnails and shortened descriptions.
Diffstat (limited to 'dichroism/src/models/photo.rs')
-rw-r--r--dichroism/src/models/photo.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/dichroism/src/models/photo.rs b/dichroism/src/models/photo.rs
index e24a691..086d387 100644
--- a/dichroism/src/models/photo.rs
+++ b/dichroism/src/models/photo.rs
@@ -7,8 +7,4 @@ impl Photo {
pub fn new(id: String) -> Self {
Self { id }
}
-
- pub fn filename(&self) -> String {
- format!("{}.jpg", self.id)
- }
}