diff options
author | Phil Hughes <me@iamphill.com> | 2016-07-20 11:20:33 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-07-20 11:20:33 +0100 |
commit | 48a360f21a92bd6e74b5c7c9e7fe9ed34e912652 (patch) | |
tree | 90a22297601a6fee63d133ca8bc2dd3488fd3415 /app/views/shared | |
parent | 5995a629817a409b7cc2d9410716d2e4c2feaf4a (diff) | |
download | gitlab-ce-48a360f21a92bd6e74b5c7c9e7fe9ed34e912652.tar.gz |
Removes @projects as not used anymore - getting selected data from controller instead
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/issuable/_label_dropdown.html.haml | 2 | ||||
-rw-r--r-- | app/views/shared/issuable/_milestone_dropdown.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/issuable/_label_dropdown.html.haml b/app/views/shared/issuable/_label_dropdown.html.haml index 2c56a3e467d..a14ba0a2d9f 100644 --- a/app/views/shared/issuable/_label_dropdown.html.haml +++ b/app/views/shared/issuable/_label_dropdown.html.haml @@ -1,4 +1,4 @@ -- project = @target_project || @project || @projects +- project = @target_project || @project - show_create = local_assigns.fetch(:show_create, true) - extra_options = local_assigns.fetch(:extra_options, true) - filter_submit = local_assigns.fetch(:filter_submit, true) diff --git a/app/views/shared/issuable/_milestone_dropdown.html.haml b/app/views/shared/issuable/_milestone_dropdown.html.haml index 44346fa1743..83d654b5026 100644 --- a/app/views/shared/issuable/_milestone_dropdown.html.haml +++ b/app/views/shared/issuable/_milestone_dropdown.html.haml @@ -1,4 +1,4 @@ -- project = @target_project || @project || @projects +- project = @target_project || @project - extra_class = extra_class || '' - selected_text = selected.try(:title) - if selected.present? |