diff options
author | Sean McGivern <sean@gitlab.com> | 2016-08-19 16:17:14 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-08-19 16:17:14 +0100 |
commit | 9cf6d4514b8f9ff312ab45102127fce97050630c (patch) | |
tree | b6606a3c9055109d0d1e5ddb75773776e14ede8a /app/views/projects/blob/new.html.haml | |
parent | 8db088ccc726996bdcda74373d9ce855dedf5bd5 (diff) | |
download | gitlab-ce-9cf6d4514b8f9ff312ab45102127fce97050630c.tar.gz |
Move editor paths to helper
Diffstat (limited to 'app/views/projects/blob/new.html.haml')
-rw-r--r-- | app/views/projects/blob/new.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/new.html.haml b/app/views/projects/blob/new.html.haml index 9c60131f6d1..b6ed9518c48 100644 --- a/app/views/projects/blob/new.html.haml +++ b/app/views/projects/blob/new.html.haml @@ -7,7 +7,7 @@ New File .file-editor - = form_tag(namespace_project_create_blob_path(@project.namespace, @project, @id), method: :post, class: 'form-horizontal js-edit-blob-form js-new-blob-form js-quick-submit js-requires-input', data: {'relative-url-root' => "#{Rails.application.config.relative_url_root}", 'assets-prefix' => "#{Gitlab::Application.config.assets.prefix}" }) do + = form_tag(namespace_project_create_blob_path(@project.namespace, @project, @id), method: :post, class: 'form-horizontal js-edit-blob-form js-new-blob-form js-quick-submit js-requires-input', data: blob_editor_paths) do = render 'projects/blob/editor', ref: @ref = render 'shared/new_commit_form', placeholder: "Add new file" |