News Feed page 500 error
Created by: itxx00
Dashboard News Feed link:http://git.example.com/dashboard.atom?private_token=MHzxZjmR9Jk8ziM44aBc 500 error,in production.log:
ActionView::Template::Error (undefined method `reverse' for nil:NilClass):
1: %div{xmlns: "http://www.w3.org/1999/xhtml"}
2: - event.commits.first(15).each do |commit|
3: %p
4: %strong= commit[:author][:name]
5: = link_to "(##{commit[:id][0...8]})", project_commit_path(event.project, id: commit[:id])
app/models/event.rb:226:in `commits'
app/views/events/_event_push.atom.haml:2:in `_app_views_events__event_push_atom_haml__1225327912475113494_64312280'
app/helpers/events_helper.rb:85:in `event_feed_summary'
app/views/dashboard/show.atom.builder:14:in `block (3 levels) in _app_views_dashboard_show_atom_builder___1100175501442096106_66054140'
app/views/dashboard/show.atom.builder:11:in `block (2 levels) in _app_views_dashboard_show_atom_builder___1100175501442096106_66054140'
app/views/dashboard/show.atom.builder:9:in `block in _app_views_dashboard_show_atom_builder___1100175501442096106_66054140'
app/views/dashboard/show.atom.builder:2:in `_app_views_dashboard_show_atom_builder___1100175501442096106_66054140'
app/controllers/dashboard_controller.rb:22:in `block (2 levels) in show'
app/controllers/dashboard_controller.rb:19:in `show'