Closed NicholasMy closed 4 months ago
The change addresses a syntax error in a Ruby on Rails view file related to the Doorkeeper gem, which is used for OAuth 2.0 authorization. Specifically, it corrects the way a variable (@pre_auth.client.name
) is interpolated into a string. By adding curly braces around the variable, the fix ensures that the client's name is properly displayed in the user interface, enhancing both the functionality and the user experience of the authorization process.
File | Summary |
---|---|
app/views/doorkeeper/authorizations/new.html.erb |
Fixed syntax error by adding curly braces for variable interpolation in the title. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Sorry for the delay - one of the checks was getting stuck so I've disabled it for now
This fixes a string templating error, so the value of the variable is properly displayed in the page title now.
Description
Before:
After:![image](https://github.com/autolab/Autolab/assets/32116122/80f24a47-cb36-477c-b839-40d0d65435bf)
Motivation and Context
I saw that the page title wasn't set correctly while authorizing an OAuth app.
How Has This Been Tested?
Just looking at the tab.
Types of changes
Checklist:
overcommit --install && overcommit --sign
to use pre-commit hook for linting