Error 500 Undefined method `public'
Created by: sdurrheimer
Hello,
I recently upgraded my gitlab instance from 4.0 -> 4.1 -> 4.2 -> 5.0. Everything got fine but now when I try to access a existing repository I got a Error 500 saying that the public method is undefined. Here is the corresponding error log :
...
Rendered events/_event.html.haml (14.4ms)
227 Rendered projects/show.html.haml within layouts/project_resource (115.5ms)
228 Completed 500 Internal Server Error in 137ms
229
230 ActionView::Template::Error (undefined method `public' for #<Project:0x00000003d3cdd8>):
231 16: %hr
232 17: %p
233 18: Access level:
234 19: - if @project.public
235 20: %span.cblue
236 21: %i.icon-share
237 22: Public
238 app/views/projects/show.html.haml:19:in `_app_views_projects_show_html_haml__2477365795223578828_54783680'
239 app/controllers/projects_controller.rb:62:in `block (2 levels) in show'
240 app/controllers/projects_controller.rb:58:in `show'
Thanks in advance