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
1159094c
Verified
Commit
1159094c
authored
Oct 12, 2018
by
Kaspar Vollenweider
👻
Browse files
chore(semester-process): minor view fixes
parent
c14910ce
Pipeline
#28648
passed with stage
in 35 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/controllers/semester_processes_controller.rb
View file @
1159094c
...
...
@@ -20,10 +20,11 @@ class SemesterProcessesController < ApplicationController
def
create
@semester_process
=
SemesterProcess
.
new
(
semester_process_params
.
slice
(
:semester
))
@semester_process
.
creator
=
current_user
authorize
@semester_process
@semester_process
.
build_semester_volunteers
(
@volunteers
,
selected_volunteers
)
@semester_process
.
build_volunteers_hours_feedbacks_and_mails
authorize
@semester_process
if
@semester_process
.
save
redirect_to
@semester_process
,
notice:
'Semester process was successfully created.'
else
...
...
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