diff options
author | barthc <mackintosh02@gmail.com> | 2016-06-17 18:17:06 +0100 |
---|---|---|
committer | barthc <mackintosh02@gmail.com> | 2016-06-17 18:17:06 +0100 |
commit | 00ac4b8e57980607bea9949ae8febaf9f5decdca (patch) | |
tree | a237c96bd05b23268902051ceca2a38fddef2c3c /app/views/dashboard | |
parent | 4f8915497dc3938856541bad0fd8113ed1929ebb (diff) | |
download | gitlab-ce-00ac4b8e57980607bea9949ae8febaf9f5decdca.tar.gz |
using request dot path instead
Diffstat (limited to 'app/views/dashboard')
-rw-r--r-- | app/views/dashboard/_projects_head.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/dashboard/_projects_head.html.haml b/app/views/dashboard/_projects_head.html.haml index 8a98d119ec5..f7abad54286 100644 --- a/app/views/dashboard/_projects_head.html.haml +++ b/app/views/dashboard/_projects_head.html.haml @@ -13,7 +13,7 @@ Explore Projects .nav-controls - = form_tag request.original_url.split('?').first, method: :get, class: 'project-filter-form', id: 'project-filter-form' do |f| + = form_tag request.path, method: :get, class: 'project-filter-form', id: 'project-filter-form' do |f| = search_field_tag :filter_projects, params[:filter_projects], placeholder: 'Filter by name...', class: 'project-filter-form-field form-control input-short projects-list-filter', spellcheck: false, id: 'project-filter-form-field', tabindex: "2" = render 'shared/projects/dropdown' - if current_user.can_create_project? |