Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix class reloading

  • Loading branch information...
commit 65a55b7b02cab39e14a7db4db19c96d294e89b2f 1 parent c9320c0
José M. Prieto nackd authored
2  lib/cas_account_controller_patch.rb
... ... @@ -1,7 +1,7 @@
1 1 require 'casclient'
2 2 require 'casclient/frameworks/rails/filter'
3   -require 'account_controller'
4 3 require 'dispatcher'
  4 +require_dependency 'account_controller'
5 5
6 6 # Patches Redmine's AccountController dinamically. Manages login and logout
7 7 # through CAS.
2  lib/cas_application_controller_patch.rb
... ... @@ -1,7 +1,7 @@
1 1 require 'casclient'
2 2 require 'casclient/frameworks/rails/filter'
3   -require 'application_controller'
4 3 require 'dispatcher'
  4 +require_dependency 'application_controller'
5 5
6 6 # Patches Redmine's ApplicationController dinamically. Prepends a CAS gatewaying
7 7 # filter.

0 comments on commit 65a55b7

Please sign in to comment.
Something went wrong with that request. Please try again.