debian-mirror-gitlab/app/views/layouts/_init_auto_complete.html.haml

5 lines
246 B
Text
Raw Normal View History

2015-10-24 18:46:33 +05:30
- project = @target_project || @project
2014-09-02 18:07:02 +05:30
:javascript
2015-10-24 18:46:33 +05:30
GitLab.GfmAutoComplete.dataSource = "#{autocomplete_sources_namespace_project_path(project.namespace, project, type: @noteable.class, type_id: params[:id])}"
2014-09-02 18:07:02 +05:30
GitLab.GfmAutoComplete.setup();