diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2009-02-25 07:25:01 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2009-02-25 07:25:01 +0000 |
commit | 4baf32b166a667f26440e4f3d81cdbcedc64eaa4 (patch) | |
tree | fffed4d31974613745424e966ddfe7fc80825aff /db/migrate/053_add_changes_branch.rb | |
parent | 0f68334f0bed0507bfb2157d99052a15511c5a2c (diff) | |
download | redmine-4baf32b166a667f26440e4f3d81cdbcedc64eaa4.tar.gz redmine-4baf32b166a667f26440e4f3d81cdbcedc64eaa4.zip |
Fixing Plugin and Mailer default_url_options.
Both the plugin hooks and Mailer were setting default_url_options incorrectly
and causing ActionContoller::UrlWritter to cache the settings on the module
(mattr_accessor) causing several url generators to fail in either the plugin
hooks or the Mailer.
* Replaced Mailer's use of the default_url_options accessor with the proper class method
* Replaced Hook's use of the default_url_options accessor with the proper class method on the ViewListener class
* Added a test to reproduce the bugs in the Mailer when a hook is registered (thanks Chaoqun Zou)
#2542
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2522 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/053_add_changes_branch.rb')
0 files changed, 0 insertions, 0 deletions