testmycode/tmc-server — pull request #181 by jamox (2014-09-21 12:16:57+00:00)
Title: Added pghero and authorization for its view

We cannot use helpers in initialisers, so only access from auth_by_session is supported.
Closes #176

Downside from using the gem is, that auth check needs to be done in routes (don't match the route unless authenticated) and thus we needed to add a initialiser to use cancan in routes...