ActionView::Template::Error: undefined local variable or method `spammable' for #<#<Class:0x00007f31921421c8>:0x00007f318f72f958>

https://sentry.gitlab.net/gitlab/gitlabcom/issues/1302431/

NameError: undefined local variable or method `spammable' for #<#<Class:0x00007f31921421c8>:0x00007f318f72f958>
  grape-path-helpers/named_route_matcher.rb:7:in `method_missing'
    return super unless method_id.to_s =~ /_path$/
  /opt/gitlab/embedded/service/gitlab-rails/app/views/shared/_recaptcha_form.html.haml:1:in `_app_views_shared__recaptcha_form_html_haml___53481389595630577_69925418437420'
    - resource_name = spammable.class.model_name.singular
  action_view/base.rb:274:in `_run'
    send(method, locals, buffer, &block)
  action_view/template.rb:185:in `block in render'
    view._run(method_name, self, locals, buffer, &block)
  active_support/notifications.rb:182:in `instrument'
    yield payload if block_given?
...
(163 additional frame(s) were not displayed)

ActionView::Template::Error: undefined local variable or method `spammable' for #<#<Class:0x00007f31921421c8>:0x00007f318f72f958>

ActionView::Template::Error: undefined local variable or method `spammable' for #<#<Class:0x00007f31921421c8>:0x00007f318f72f958>