mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-27 04:20:30 +00:00
4e43c676b4
This is a basic and simple way to display them. No interaction possible. Alos, this patch is not optimised. as everytime a partial post_card is called, `Post::count_likes()` and `Post::count_reshares()` are called which means quite a few more quesies are sent to database unless diesel uses some cache mechanisem. A way to enhance this this would be to keep a count of likes and reshares are kept in Post model / table. |
||
---|---|---|
.. | ||
blogs | ||
errors | ||
instance | ||
medias | ||
notifications | ||
partials | ||
posts | ||
search | ||
session | ||
tags | ||
timelines | ||
users | ||
base.rs.html | ||
remote_interact_base.rs.html |