aboutsummaryrefslogtreecommitdiffstats
path: root/src/controllers/home_controller.rs
Commit message (Collapse)AuthorAgeFilesLines
* No need to be able to serialize templates.Harald Eilertsen2018-08-011-1/+1
|
* Make imports explicit.Harald Eilertsen2018-08-011-10/+18
|
* Fix display of flash messages.Harald Eilertsen2018-08-011-1/+1
| | | | | Pass full flash to template, and style according to flash name/type.
* Move routing details into controllers.Harald Eilertsen2018-07-311-0/+8
|
* Refactor index template.Harald Eilertsen2018-01-201-2/+5
| | | | | Use a vector of show post templates instead of manually decoding posts in the index view.
* Add flash messages when adding/editing/deleting posts.Harald Eilertsen2018-01-141-1/+2
|
* Serve static files from public directory if no other route match.Harald Eilertsen2018-01-141-0/+10
|
* Split out layout from templates.Harald Eilertsen2018-01-141-5/+9
|
* Move homepage processing to separate controller.Harald Eilertsen2018-01-111-0/+21