about summary refs log tree commit diff
path: root/app/views/oauth/authorizations
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-18 23:08:52 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-18 23:10:44 +0100
commit7b7bf834e9f8616440259fcee518fa11adf3e457 (patch)
treee5a5d88f26c162606b4624bd78d644096cf6399a /app/views/oauth/authorizations
parent1fd2ac774f77dbca25a1bf82279e2eafa8a3d83b (diff)
Fix OAuth authorization page and add a spec for it
Diffstat (limited to 'app/views/oauth/authorizations')
-rw-r--r--app/views/oauth/authorizations/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/oauth/authorizations/new.html.haml b/app/views/oauth/authorizations/new.html.haml
index cd6e93e08..f058e2cce 100644
--- a/app/views/oauth/authorizations/new.html.haml
+++ b/app/views/oauth/authorizations/new.html.haml
@@ -2,7 +2,7 @@
   = t('doorkeeper.authorizations.new.title')
 
 .oauth-prompt
-  %h2= t('doorkeeper.authorizations.new.prompt', name: @pre_auth.client.name)
+  %h2= t('doorkeeper.authorizations.new.prompt', client_name: @pre_auth.client.name)
 
   %p
     = t('doorkeeper.authorizations.new.able_to')