aboutsummaryrefslogtreecommitdiffstats
path: root/src/models.rs
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2019-04-08 12:31:26 +0200
committerHarald Eilertsen <haraldei@anduin.net>2019-04-08 12:31:26 +0200
commita7c734d39512385177426bcb2131726906ce2fff (patch)
tree9a42886afebda28ce712ea88f2250dd8b5e79134 /src/models.rs
parent9c8b8a254a5223cd359df150279f78e644b58abb (diff)
downloadramaskrik-social-a7c734d39512385177426bcb2131726906ce2fff.tar.gz
ramaskrik-social-a7c734d39512385177426bcb2131726906ce2fff.tar.bz2
ramaskrik-social-a7c734d39512385177426bcb2131726906ce2fff.zip
Add endpoint to fetch screenings from the database.
Not entirely happy about the way this turned out for now. A more ergonomic return type from the models::screenings::get_all() function will be investigated.
Diffstat (limited to 'src/models.rs')
-rw-r--r--src/models.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models.rs b/src/models.rs
index f5b1f08..40d910c 100644
--- a/src/models.rs
+++ b/src/models.rs
@@ -18,3 +18,4 @@
pub mod film;
pub mod room;
+pub mod screening;