Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
aoz-003
Commits
ece24e92
Verified
Commit
ece24e92
authored
Oct 12, 2018
by
Kaspar Vollenweider
👻
Browse files
fix(semester-process-volunteer): fix missions method, to work also in non saved state
parent
c3da80ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/models/semester_process_volunteer.rb
View file @
ece24e92
...
...
@@ -25,6 +25,6 @@ class SemesterProcessVolunteer < ApplicationRecord
# will only return an array, not a AD-result
def
missions
assignments
+
group_assignments
semester_process_volunteer_missions
.
map
(
&
:mission
)
end
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment