Refactor toggle_category into (dis)activate

This commit is contained in:
2020-10-28 00:34:35 +01:00
parent 11aa131186
commit e8edaa9acb
3 changed files with 37 additions and 16 deletions

View File

@ -35,7 +35,8 @@ fn main() -> io::Result<()> {
routes::index,
routes::history,
routes::create_category,
routes::toggle_category,
routes::activate_category,
routes::deactivate_category,
],
);