Apparently there were 4 places in the code where we've rendered clients/authorize template and @deny_url was only set in one of them. This PR extracts it into a helper method that allows the template to render the url without instance variable to be set explicitly. It relies on @client to be set though.
Apparently there were 4 places in the code where we've rendered
clients/authorize
template and@deny_url
was only set in one of them. This PR extracts it into a helper method that allows the template to render the url without instance variable to be set explicitly. It relies on@client
to be set though.