tonymarschall/redmine_default_version — pull request #3 by benasher44 (2012-06-10 14:42:47+00:00)
Title: fixed views for redmine 2.x

I switched the plugin to using view hooks instead of overriding partials that redmine core uses. This didn't seem to be a problem with rails 2, but it breaks things in rails 3 (custom fields don't show up in issues form because of _attributes partial).

The method that I'm aliasing in ProjectsHelper and the projects view hook that I'm using are both present in redmine 1.2.0, so backwards compatibility should be ok. I even threw in some rails 2 Dispatcher backwards compatibility.

I've tested this on my redmine 2.0.2 setup, and it seems to be working just fine. This may need to be tested more on redmine 1.2.x, but I'm not using anything rails 3 or redmine 2.x specific.