Fix default aspects on profile page and bookmarklet publisher

Fixes #7679
This commit is contained in:
Benjamin Neff 2017-12-24 23:13:28 +01:00
parent d59b5b2df7
commit 70c659192f
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -42,8 +42,8 @@
- elsif all_aspects_selected?(selected_aspects)
= hidden_field_tag "aspect_ids[]", "all_aspects"
- else
- for aspect_id in aspect_ids
= hidden_field_tag "aspect_ids[]", aspect_id.to_s
- selected_aspects.each do |aspect|
= hidden_field_tag "aspect_ids[]", aspect.id
.hidden#publisher_spinner
.loader