aboutsummaryrefslogtreecommitdiffstats
path: root/src/controllers/film.rs
Commit message (Collapse)AuthorAgeFilesLines
* Implement adding and listing films.Harald Eilertsen2020-08-231-3/+39
|
* Import model structs to main models module.Harald Eilertsen2019-04-081-2/+2
|
* Move functions to query/modify db to connection object.Harald Eilertsen2019-04-081-1/+1
| | | | | | Makes tha API a bit nicer by asking the database rather than passing the database on to each model. Reserve models for method/functions that work on the model structs themselves.
* Add route to fetch films from database.Harald Eilertsen2019-04-021-0/+32