Merge pull request #3136 from movilla/Auto_fix
Issue #3134:Problem with translation in authorizations/new.html.haml
This commit is contained in:
commit
1a7ec495c9
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class AuthorizationsController < ApplicationController
|
|||
end
|
||||
|
||||
def create
|
||||
if params[:commit] == "Authorize"
|
||||
if params[:commit] == t('authorizations.new.autorize')
|
||||
grant_authorization_code(current_user)
|
||||
else
|
||||
deny_authorization_code
|
||||
|
|
|
|||
Loading…
Reference in a new issue