Text 28 Sep 258 notes Getting a valid list of urls in a Symfony2 project

In my case, I wanted to get a complete list of valid urls to use Helium-css (to clean all the unused css of the project) and to take the advantage of the routing, I executed this command (you should replace BASE_URL to your base_url:

app/console router:debug | awk '{print "BASE_URL"$3}'
With this, you only have to paste the list to the helium window (replacing some id…) and you got it!.

  1. rabarroso posted this

Design crafted by Prashanth Kamalakanthan. Powered by Tumblr.