Problem with personal snippets in gitlab 5.3
Created by: troszok
I've just upgraded to 5.3 and I'm getting the folllowing error:
Started GET "/s/troszok" for at 2013-06-21 09:28:16 +0400
Processing by SnippetsController#user_index as HTML
Parameters: {"username"=>"troszok"}
Rendered snippets/_snippet.html.haml (5.0ms)
Rendered snippets/_snippets.html.haml (87.6ms)
Rendered snippets/current_user_index.html.haml within layouts/navless (93.7ms)
Completed 500 Internal Server Error in 102ms
ActionView::Template::Error (undefined method `private?' for #<Snippet:0x007fbcc4798668>):
1: %li
2: .snippet-title
3: - if snippet.private?
4: = private_icon
5: - else
6: = public_icon
app/views/snippets/_snippet.html.haml:3:in `_app_views_snippets__snippet_html_haml___2494972092589025157_57796320'
app/views/snippets/_snippets.html.haml:2:in `_app_views_snippets__snippets_html_haml___1711220378217575352_70224363328820'
app/views/snippets/current_user_index.html.haml:23:in `_app_views_snippets_current_user_index_html_haml___4497083978634453770_70224363143000'
app/controllers/snippets_controller.rb:40:in `user_index'