Broken master (FOSS) ActionView::Template::Error: wrong number of arguments (given 1, expected 2)
Pipeline #202703797 failed for gitlab-foss@5c635722.
def feature_available?(feature, user)
# This feature might not be behind a feature flag at all, so default to true
return false unless ::Feature.enabled?(feature, user, default_enabled: true)
get_permission(user, feature)
end
ActionView::Template::Error:
wrong number of arguments (given 1, expected 2)
# ./app/models/concerns/featurable.rb:89:in `feature_available?'
# ./app/models/project.rb:379:in `feature_available?'
# ./app/views/projects/issues/_issues.html.haml:15:in `_app_views_projects_issues__issues_html_haml___156721704992799226_47420003825340'
# ./app/views/projects/issues/index.html.haml:25:in `_app_views_projects_issues_index_html_haml__1428739746233594707_47419957055540'
# ./app/controllers/application_controller.rb:134:in `render'
# ./app/controllers/application_controller.rb:492:in `set_current_admin'
# ./lib/gitlab/session.rb:11:in `with_session'
# ./app/controllers/application_controller.rb:482:in `set_session_storage'
# ./lib/gitlab/i18n.rb:73:in `with_locale'
# ./lib/gitlab/i18n.rb:79:in `with_user_locale'
# ./app/controllers/application_controller.rb:476:in `set_locale'