opro/opro — pull request #11 by carols10cents (2012-08-21 20:53:44+00:00)
Title: Limit routes

I noticed there were a lot more routes than there were corresponding controller actions, so I added :only clauses to the resources.

I also added some code to throw a 404 if you try to go to a docs route for which there is no corresponding markdown file.

Let me know if there are any improvements or modifications I can make to this code!