Skip to content
GitLab
Menu
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
c8933b1f
Verified
Commit
c8933b1f
authored
Feb 01, 2018
by
Kaspar Vollenweider
👻
Browse files
fix missing method error
parent
f37f5398
Pipeline
#13906
canceled with stage
in 26 minutes and 4 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/models/client.rb
View file @
c8933b1f
...
...
@@ -70,7 +70,7 @@ class Client < ApplicationRecord
}
def
terminatable?
assignment
.
blank?
||
assignment
.
ende
d?
||
assignment
.
no_perio
d?
assignment
.
blank?
||
assignment
.
no_perio
d?
||
assignment
.
ende
d?
end
def
self
.
acceptences_restricted
...
...
app/models/concerns/group_assignment_and_assignment_common.rb
View file @
c8933b1f
...
...
@@ -116,5 +116,9 @@ module GroupAssignmentAndAssignmentCommon
def
ending?
period_start
.
present?
&&
period_end
.
present?
end
def
no_period?
period_start
.
blank?
&&
period_end
.
blank?
end
end
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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