JeffreyWay/Laravel-4-Generators — pull request #197 by marlek (2013-09-03 13:03:36+00:00)
Title: Prevents appending the same route to routes.php more than once

Added a check in ResourceGenerator to see if routes.php file already contains this resource's route. It's useful if you're re-running your generators.
This code doesn't check if the existing route in routes.php is commented out, because if it is, it's probably so for a reason.