500 error when visit user's profile/notifications
Created by: ghost
500 error when visit user's profile/notifications, here the log:
Started GET "/profile/notifications" for 127.0.0.1 at 2013-10-28 09:07:17 -0400
Processing by Profiles::NotificationsController#show as HTML
Rendered profiles/notifications/show.html.haml within layouts/profile (102.8ms)
Completed 500 Internal Server Error in 107ms
ActionView::Template::Error (uninitialized constant Notification::N_WATSpurs):
35: %span Participating
36:
37: = label_tag do
38: = radio_button_tag :notification_level, Notification::N_WATSpurs, @notification.watch?, class: 'trigger-submit'
39: %span Watch
40:
41: %br
app/views/profiles/notifications/show.html.haml:38:in block (2 levels) in _app_views_profiles_notifications_show_html_haml__4269073487535316529_70309212707340' app/views/profiles/notifications/show.html.haml:37:in
block in _app_views_profiles_notifications_show_html_haml__4269073487535316529_70309212707340'
app/views/profiles/notifications/show.html.haml:26:in `_app_views_profiles_notifications_show_html_haml__4269073487535316529_70309212707340'
I compare the template file in Local with the gitlab source on github, there is not different on this file.