jrupesh / event_notifications

Redmine event notifications : Add event notification options to the each event at the redmine project. For EX: notifications can be enabled / disabled on each document added or news added. Further the tracking can be done at the issue tracker level.
BSD 3-Clause "New" or "Revised" License
28 stars 26 forks source link

undefined method `project_issue_time_entries_path' #11

Closed higuita closed 9 years ago

higuita commented 9 years ago

Using redmine 2.6 i get this with event_notifications:

ActionView::Template::Error (undefined method project_issue_time_entries_path' for #<#$ 61: end 62: end 63: if User.current.allowed_to?(:view_time_entries, @project) 64: rows.right l(:label_spent_time), (@issue.total_spent_hours > 0 ? link_to(l_$ 65: end 66: end %> 67: <%= render_custom_fields_rows(@issue) %> app/helpers/issues_helper.rb:158:inissue_fields_rows' app/controllers/issues_controller.rb:128:in block (2 levels) in show' app/controllers/issues_controller.rb:125:inshow'

Any idea how to fix this?

jrupesh commented 9 years ago

Hello , Now fix available in master.

ZaLiTHkA commented 9 years ago

Apologies for resurrecting an old issue, but I'm getting this same error with Redmine 2.6.6 using the 2.0.0 branch. I can't go to Redmine 3 just yet because of other required plugins, but the "fix" you're referring to here doesn't seem to be in the 2.0.0 branch and you haven't referenced it from this issue..

@jrupesh, could you perhaps direct me to the changes you made to fix this please? It was fine in Redmine 2.5.2, only started giving me trouble after updating to 2.6.6.

[edit] Found the correct method name in 8a722605. :+1: All sorted now.

jrupesh commented 9 years ago

Good to hear @ZaLiTHkA