Removes @projects as not used anymore - getting selected data from controller instead

This commit is contained in:
Phil Hughes 2016-07-20 11:20:33 +01:00
parent 5995a62981
commit 48a360f21a
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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?