mirror of https://git.stjo.hn/planiverse
0247f8b57e
I was re-using the same paths for a bunch of stuff in order to minimise redirects (POSTing new statuses to the timeline, or performing actions on a status), but then this breaks the behaviour of the browser's refresh button. I've moved all those actions to their own paths, which helps break up the code, makes the URLs more semantic, and lets you use the refresh button without accidentally performing an action. This is at the expense of an additional HTTP request, but I've tried to minimise the cost by passing through the status from the previous action so we don't have to requery for it on the server side. |
||
---|---|---|
.. | ||
Console | ||
Exceptions | ||
Helpers | ||
Http | ||
Providers | ||
User.php |