Skip to content
This repository was archived by the owner on Jan 23, 2021. It is now read-only.
This repository was archived by the owner on Jan 23, 2021. It is now read-only.

Project seetings are not accessable #127

@AlUser71

Description

@AlUser71

By using the redmine_bunner plugin in version 0.2.2 or 0.3.0 the project settings can't be accessed anymore.

It seems that it is caused by issue #120 by changing lib/banners/projects_helper_patch.rb.
projects_helper_patch rb

If we patch projects_helper_patch.rb and replace again
ProjectsHelper.prepend(Banners::ProjectsHelperPatch)
by
ProjectsController.helper(Banners::ProjectsHelperPatch)
it works again.

Our patched version looks like this now:

unless ProjectsHelper.included_modules.include?(Banners::ProjectsHelperPatch)
  ProjectsController.helper(Banners::ProjectsHelperPatch)
end

I don't know if there are side effects that I could not figure out so far.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions