gitlab-org--gitlab-foss/app/views/layouts/_init_auto_complete.html.haml

5 lines
246 B
Text
Raw Normal View History

- project = @target_project || @project
:javascript
GitLab.GfmAutoComplete.dataSource = "#{autocomplete_sources_namespace_project_path(project.namespace, project, type: @noteable.class, type_id: params[:id])}"
2013-06-21 15:08:16 -04:00
GitLab.GfmAutoComplete.setup();