Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4366

Closed
Open
Created Jun 21, 2013 by Administrator@rootOwner

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'
Assignee
Assign to
Time tracking