Moved init of auth strategies from initializer into actual class.
authorThomas Kjeldahl Nilsson <thomas@kjeldahlnilsson.net>
Fri, 18 May 2012 09:59:18 +0000 (11:59 +0200)
committerMarius Mathiesen <marius@gitorious.org>
Mon, 8 Oct 2012 07:41:28 +0000 (09:41 +0200)
commit04a46ec000219c2196a01f810aceedbbcc960db2
treef20bc190a815f5546e950d435ea48ed67bb8e4aa
parent7829c89eb104543142ed850b110f578b3602ee16
Moved init of auth strategies from initializer into actual class.

Classes are reloaded on each request in dev mode, instead of boot-time
as in production mode. Classes should if possible self-configure
instead of relying on boot-time initializers, to make sure per-request
reload works as expected.
config/initializers/authorization.rb
lib/gitorious/authorization/configuration.rb