summaryrefslogtreecommitdiff
path: root/app/views/projects/commits
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-01-07 13:00:47 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-01-07 15:16:11 +0100
commit4443a5f3c76015f7bf083248b6910d01839cfc88 (patch)
tree61ddf88a26978c128d7d6ff0685502d79609c552 /app/views/projects/commits
parentb2b4e9a7eb925bec2a09e44940cab31199f1de5c (diff)
downloadgitlab-ce-4443a5f3c76015f7bf083248b6910d01839cfc88.tar.gz
Add support for ref and path to commits filtering
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/commits')
-rw-r--r--app/views/projects/commits/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commits/show.html.haml b/app/views/projects/commits/show.html.haml
index 5e59afcd783..8f6625fef8a 100644
--- a/app/views/projects/commits/show.html.haml
+++ b/app/views/projects/commits/show.html.haml
@@ -18,7 +18,7 @@
Create Merge Request
.pull-left.prepend-left-10
- = form_tag(namespace_project_commits_path(@project.namespace, @project, @ref), method: :get, class: 'pull-left commits-search-form') do
+ = form_tag(namespace_project_commits_path(@project.namespace, @project, @id), method: :get, class: 'pull-left commits-search-form') do
= search_field_tag :search, params[:search], { placeholder: 'Filter by commit message', id: 'commits-search', class: 'form-control search-text-input', spellcheck: false }
- if current_user && current_user.private_token