Pajk/apipie-rails — pull request #57 by barmstrong (2012-08-31 04:30:13+00:00)
Title: Redirect if @resource not found, and formatting cleanup

Googlebot was trolling my site with urls like `/api/doc/javascript` which didn't exist. This fix just redirects if the resource isn't found.

I also made a slight change to the layout, it was off center (left and right margins were slightly different). This seems to have fixed it.