Skip to content

Commit

Permalink
291 | Update success message
Browse files Browse the repository at this point in the history
  • Loading branch information
emmabjj committed Dec 30, 2024
1 parent 3fc774b commit bde972d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/submissions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def set_submission

def handle_successful_update(format)
format.html do
flash[:success] = I18n.t("comments_saved")
flash[:success] = I18n.t("submission_updated")
redirect_to submission_path(@submission.phase)
end
format.json { render json: { submission: @submission } }
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ en:
evaluation_form_destroyed: "Evaluation form was successfully destroyed."
evaluation_form_saved: "Evaluation form was saved successfully."
comments_saved: "Comments saved succesfully."
submission_updated: "Submission was updated succesfully."
submission_updated: "Submission was updated successfully."
login_error: "There was an issue with logging in. Please try again."
please_try_again: "Please try again."
session_expired_alert: "Your session has expired. Please log in again."
Expand Down

0 comments on commit bde972d

Please sign in to comment.