thedevdojo / chatter

Chatter is a Simple Laravel Forum Package
https://devdojo.com/forums
MIT License
898 stars 294 forks source link

Refactor in post delete and update authorization logic #220

Open cigala opened 6 years ago

cigala commented 6 years ago

I extracted the post delete and update authorization logic to a FormRequest subclass. In case that you need, it allows you to write your own authorization logic in a custom FormRequest without you have to modify ChatterPostController class.

Wait for your feedback