"Notifications" page throws 500 in user profile
Created by: morsik
GitLab version: 6.5.1 GitLab Shell version: 1.8.0
Started GET "/profile/notifications" for 127.0.0.1 at 2014-02-04 11:26:04 +0100
Processing by Profiles::NotificationsController#show as HTML
Rendered profiles/notifications/_settings.html.haml (11.2ms)
Rendered profiles/notifications/_settings.html.haml (3.9ms)
Rendered profiles/notifications/_settings.html.haml (2.7ms)
Rendered profiles/notifications/_settings.html.haml (6.4ms)
Rendered profiles/notifications/_settings.html.haml (3.1ms)
Rendered profiles/notifications/_settings.html.haml (6.2ms)
Rendered profiles/notifications/_settings.html.haml (4.1ms)
Rendered profiles/notifications/_settings.html.haml (4.4ms)
Rendered profiles/notifications/_settings.html.haml (4.1ms)
Rendered profiles/notifications/_settings.html.haml (4.0ms)
Rendered profiles/notifications/_settings.html.haml (4.9ms)
Rendered profiles/notifications/_settings.html.haml (4.7ms)
Rendered profiles/notifications/_settings.html.haml (6.8ms)
Rendered profiles/notifications/_settings.html.haml (5.7ms)
Rendered profiles/notifications/_settings.html.haml (5.7ms)
Rendered profiles/notifications/_settings.html.haml (4.2ms)
Rendered profiles/notifications/_settings.html.haml (5.6ms)
Rendered profiles/notifications/_settings.html.haml (4.6ms)
Rendered profiles/notifications/_settings.html.haml (4.1ms)
Rendered profiles/notifications/_settings.html.haml (4.2ms)
Rendered profiles/notifications/_settings.html.haml (4.0ms)
Rendered profiles/notifications/_settings.html.haml (3.6ms)
Rendered profiles/notifications/show.html.haml within layouts/profile (218.4ms)
Completed 500 Internal Server Error in 227ms
ActionView::Template::Error (undefined method `path' for nil:NilClass):
7: - if membership.kind_of? UsersGroup
8: = link_to membership.group.name, membership.group
9: - else
10: = link_to_project(membership.project)
11: .col-sm-8
12: = form_tag profile_notifications_path, method: :put, remote: true, class: 'update-notifications' do
13: = hidden_field_tag :notification_type, type, id: dom_id(membership, 'notification_type')
app/models/project.rb:201:in `to_param'
app/helpers/projects_helper.rb:7:in `link_to_project'
app/views/profiles/notifications/_settings.html.haml:10:in `_app_views_profiles_notifications__settings_html_haml___865740105810096289_82546840'
app/views/profiles/notifications/show.html.haml:58:in `block in _app_views_profiles_notifications_show_html_haml__357838514765547811_78419800'
app/views/profiles/notifications/show.html.haml:56:in `_app_views_profiles_notifications_show_html_haml__357838514765547811_78419800'
app/controllers/application_controller.rb:57:in `set_current_user_for_thread'