Removes @projects as not used anymore - getting selected data from controller instead
This commit is contained in:
parent
5995a62981
commit
48a360f21a
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue