EllisLab/CodeIgniter — pull request #642 by JoeCianflone (2011-11-02 03:14:18+00:00)
Title: Feature use dashes

Switch between dashes or underscores for your urls. I had submitted a pull request for this a while back, but it had a couple of bugs and some extra code in there that should not have been pushed, so I'm resubmitting.
Couple of things people had questions on before:
- If use_dashes is set to true urls with underscores will bring up a 404, so no duplicate content issues.
- variables are not checked so you can still have something like x.com/controller-name/func/_id101 if necessary
- folders aren't checked either so name them however you want.