FriendsOfFlarum / mason

Add custom fields to discussions
https://discuss.flarum.org/d/7028
MIT License
20 stars 14 forks source link

Code review #1

Closed clarkwinkelmann closed 6 years ago

clarkwinkelmann commented 7 years ago

Before it goes live

luceos commented 7 years ago
luceos commented 7 years ago

In https://github.com/flagrow/mason/blob/master/src/Listeners/AddApiRoutes.php

import the Controllers namespace then prefix all controllers with Controllers in the route definition. Looks much cleaner and is almost equally easy to read. Maybe put the route definitions in multiple lines instead of one.

clarkwinkelmann commented 7 years ago

Note to self: rename route names to use mason instead of discussion-fields

luceos commented 6 years ago

Going to de-assign this from me @clarkwinkelmann .

clarkwinkelmann commented 6 years ago

I'll close this. Everything that required immediate change has been done and it's been live for some time now.