g33kidd / bracket

An eSports tournament framework built with Laravel
MIT License
35 stars 9 forks source link

Templates and data #17

Closed g33kidd closed 8 years ago

g33kidd commented 8 years ago

Fix the current template->data solution and build something that lets the developer specify which data they need. Instead of going crazy and passing in everything you could want. Maybe make a settings file for this and read from the Config of laravel.

This could be way cooler and wouldn't require you to sift through the controller files to find what it is you're looking for.

g33kidd commented 8 years ago

Continuation of #8

g33kidd commented 8 years ago

This is basically fixed with the renderView($view, array $data) function in Support/Helpers.php. Closing for now until something else comes up.