Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Capitalize TwiML tags; ignore slim-lint offense
**Why**: TwiML tags are case-sensitive according to Twilio documentation, so we need to ignore the `TagCase` slim-lint offense for `app/views/voice/otp/show.xml.slim`. For some reason, using the exclude option under `TagCase` doesn't work, so I had to ignore the file globally.
- Loading branch information
Showing
3 changed files
with
25 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
doctype xml | ||
response | ||
say language="#{I18n.locale}" | ||
Say language="#{I18n.locale}" | ||
= @message | ||
- if @action_url | ||
gather numDigits="1" action=@action_url | ||
say language="#{I18n.locale}" | ||
Gather numDigits="1" action=@action_url | ||
Say language="#{I18n.locale}" | ||
= t('voice.otp.repeat_instructions') | ||
hangup / | ||
Hangup / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters