gitlabhq/gitlabhq — pull request #4176 by Andrew8xx8 (2013-06-03 15:06:46+00:00)
Title: 500 error on showing not existed commit fixed

From [Rails Guides](http://guides.rubyonrails.org/v2.3.11/layouts_and_rendering.html)

```
Rails will start the rendering process to dump the @book variable into
the special_show view. But this will not stop the rest of the code in the show action from running, and when
Rails hits the end of the action, it will start to render the show view – and throw an error.
```