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
2a7a5fba
Commit
2a7a5fba
authored
Oct 23, 2018
by
Jiri Strojil
Browse files
Email sending done
parent
3aaf67b1
Pipeline
#29326
failed with stage
in 60 minutes and 4 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/controllers/semester_processes_controller.rb
View file @
2a7a5fba
...
...
@@ -39,7 +39,7 @@ class SemesterProcessesController < ApplicationController
@semester_process
.
build_volunteers_hours_feedbacks_and_mails
if
@semester_process
.
save
redirect_to
semester_process_volunteers_path
,
notice:
'Semester process was successfully created.'
redirect_to
semester_process_volunteers_path
,
notice:
'Semester process was successfully created
and emails delivered
.'
else
render
:new
end
...
...
config/routes.rb
View file @
2a7a5fba
...
...
@@ -100,7 +100,6 @@ Rails.application.routes.draw do
resources
:semester_process_volunteers
do
get
:review_semester
,
on: :member
patch
:submit_review
,
on: :member
get
:email_preview
,
on: :member
end
resources
:semester_processes
,
except:
[
:destroy
]
...
...
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