diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2019-04-08 12:31:26 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2019-04-08 12:31:26 +0200 |
commit | a7c734d39512385177426bcb2131726906ce2fff (patch) | |
tree | 9a42886afebda28ce712ea88f2250dd8b5e79134 /src/models.rs | |
parent | 9c8b8a254a5223cd359df150279f78e644b58abb (diff) | |
download | ramaskrik-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.rs | 1 |
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; |