aboutsummaryrefslogtreecommitdiffstats
path: root/src/models.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add handlers for creating new Posts.Harald Eilertsen2017-11-221-1/+11
|
* Derive FromForm for models::Post.Harald Eilertsen2017-11-211-1/+1
| | | | | This allows us to pass in forms that will translate into proper form objects.
* Implement default trait for Posts using derive.Harald Eilertsen2017-11-211-1/+1
|
* Use serde_json to create json response when requested by client.Harald Eilertsen2017-11-201-1/+1
|
* Add schema for posts, and display them on index page.Harald Eilertsen2017-10-011-0/+7