Skip to content

Commit

Permalink
Remove hyphen from "signing-up" string
Browse files Browse the repository at this point in the history
Change was requested here: #888 (comment)
  • Loading branch information
aaronskiba committed Sep 11, 2024
1 parent a71c056 commit d30ed72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/users/omniauth_callbacks_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def openid_connect
# If email is missing we need to request the user to register with DMP.
# User email can be missing if the usFFvate or trusted clients only we won't get the value.
# User email id is one of the mandatory field which is must required.
flash[:notice] = _('Something went wrong, Please try signing-up here.')
flash[:notice] = _('Something went wrong, Please try signing up here.')
redirect_to new_user_registration_path
return
end
Expand Down
2 changes: 1 addition & 1 deletion spec/controllers/omniauth_callbacks_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
post :openid_connect

expect(response).to redirect_to(new_user_registration_path)
expect(flash[:notice]).to eq('Something went wrong, Please try signing-up here.')
expect(flash[:notice]).to eq('Something went wrong, Please try signing up here.')
end
end

Expand Down

0 comments on commit d30ed72

Please sign in to comment.