From a7c734d39512385177426bcb2131726906ce2fff Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 8 Apr 2019 12:31:26 +0200 Subject: 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. --- src/controllers.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/controllers.rs') diff --git a/src/controllers.rs b/src/controllers.rs index f5b1f08..40d910c 100644 --- a/src/controllers.rs +++ b/src/controllers.rs @@ -18,3 +18,4 @@ pub mod film; pub mod room; +pub mod screening; -- cgit v1.2.3