diff --git a/app/assets/javascripts/app/controllers/_channel/facebook.coffee b/app/assets/javascripts/app/controllers/_channel/facebook.coffee index af76b9415..3e6ef6281 100644 --- a/app/assets/javascripts/app/controllers/_channel/facebook.coffee +++ b/app/assets/javascripts/app/controllers/_channel/facebook.coffee @@ -30,7 +30,7 @@ class Index extends App.ControllerSubContent render: (data) => # if no facebook app is registered, show intro - if !App.ExternalCredential.findByAttribute(name: 'facebook') + if !App.ExternalCredential.findByAttribute('name', 'facebook') @html App.view('facebook/index')() return diff --git a/app/assets/javascripts/app/controllers/_channel/twitter.coffee b/app/assets/javascripts/app/controllers/_channel/twitter.coffee index 9a0b8b6eb..a8ae0fbd0 100644 --- a/app/assets/javascripts/app/controllers/_channel/twitter.coffee +++ b/app/assets/javascripts/app/controllers/_channel/twitter.coffee @@ -29,7 +29,7 @@ class Index extends App.ControllerSubContent render: (data) => # if no twitter app is registered, show intro - if !App.ExternalCredential.findByAttribute(name: 'twitter') + if !App.ExternalCredential.findByAttribute('name', 'twitter') @html App.view('twitter/index')() return diff --git a/app/assets/javascripts/app/views/facebook/app_config.jst.eco b/app/assets/javascripts/app/views/facebook/app_config.jst.eco index 1bbb27c70..d9098f3e0 100644 --- a/app/assets/javascripts/app/views/facebook/app_config.jst.eco +++ b/app/assets/javascripts/app/views/facebook/app_config.jst.eco @@ -1,6 +1,6 @@
- The tutorial on how to create a Facebook App is hosted on zammad.org/facebook-app-tutorial + <%- @T('The tutorial on how to manage a %s is hosted on our [online documentation](http://zammad.org/documentation/channel/facebook).', 'Facebook App') %>