Skip to content
Browse files

Fix class reloading

  • Loading branch information...
1 parent c9320c0 commit 65a55b7b02cab39e14a7db4db19c96d294e89b2f @nackd nackd committed Nov 17, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/cas_account_controller_patch.rb
  2. +1 −1 lib/cas_application_controller_patch.rb
View
2 lib/cas_account_controller_patch.rb
@@ -1,7 +1,7 @@
require 'casclient'
require 'casclient/frameworks/rails/filter'
-require 'account_controller'
require 'dispatcher'
+require_dependency 'account_controller'
# Patches Redmine's AccountController dinamically. Manages login and logout
# through CAS.
View
2 lib/cas_application_controller_patch.rb
@@ -1,7 +1,7 @@
require 'casclient'
require 'casclient/frameworks/rails/filter'
-require 'application_controller'
require 'dispatcher'
+require_dependency 'application_controller'
# Patches Redmine's ApplicationController dinamically. Prepends a CAS gatewaying
# filter.

0 comments on commit 65a55b7

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