ActionView::Template::Error: undefined local variable or method `show_create' for #<#<Class:0x00007f9ef59aa7b8>:0x00007f9ef399...
https://sentry.gitlap.com/gitlab/gitlabcom/issues/110705/
NameError: undefined local variable or method `show_create' for #<#<Class:0x00007f9ef59aa7b8>:0x00007f9ef39912b0>
Did you mean? show_projects?
app/views/shared/_ref_switcher.html.haml:1:in `_app_views_shared__ref_switcher_html_haml__1412839665217855711_70160359179440'
- show_new_branch_form = show_new_repo? && show_create && can?(current_user, :push_code, @project)
app/views/projects/commits/show.html.haml:14:in `_app_views_projects_commits_show_html_haml__1108724670444109371_70160269757240'
= render 'shared/ref_switcher', destination: 'commits'
app/controllers/projects/commits_controller.rb:16:in `show'
respond_to do |format|
lib/gitlab/i18n.rb:47:in `with_locale'
yield
lib/gitlab/i18n.rb:53:in `with_user_locale'
with_locale(user&.preferred_language, &block)
...
(162 additional frame(s) were not displayed)
ActionView::Template::Error: undefined local variable or method `show_create' for #<#<Class:0x00007f9ef59aa7b8>:0x00007f9ef39912b0>
Did you mean? show_projects?
ActionView::Template::Error: undefined local variable or method `show_create' for #<#<Class:0x00007f9ef59aa7b8>:0x00007f9ef39912b0>
Did you mean? show_projects?