alexjohnson505/quadrocopter_docs — pull request #2 by nixpulvis (2013-07-15 18:04:41+00:00)
Title: Working rendering

I've made a few small changes to get the code rendering. Please note that the variable `@docs` was undeclared in the scope on the `get ...` method. That is because `@` variables are instance variables and cannot be declared ahead of time from the class level. Removing the `@` in this case is the fix. However __really__ we shouldn't even have a `docs` array to check, we should check the folder for a file matching the name of the request path. and if there is one, parse it and render it as we're doing now.