From a6b85448a63f90021b85f426844549a2e381fd8b Mon Sep 17 00:00:00 2001 From: Razvan Ciocanel Date: Wed, 2 Dec 2015 15:10:58 +0200 Subject: [PATCH] revert some of the app_secret as we went ahead with the wave it's not there yet --- app/views/api/v1/websites/index.json.jbuilder | 2 +- app/views/api/v1/websites/show.json.jbuilder | 2 +- app/views/websites/_website_modal.html.haml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/api/v1/websites/index.json.jbuilder b/app/views/api/v1/websites/index.json.jbuilder index 24bcaf15..b9cd6729 100644 --- a/app/views/api/v1/websites/index.json.jbuilder +++ b/app/views/api/v1/websites/index.json.jbuilder @@ -1,5 +1,5 @@ json.websites @websites do |website| - json.(website, :id, :title, :domain, :app_secret, :app_key) + json.(website, :id, :title, :domain, :app_id, :app_key) json.errors website.grouped_issues.count json.subscribers website.subscribers.count json.members website.members.count diff --git a/app/views/api/v1/websites/show.json.jbuilder b/app/views/api/v1/websites/show.json.jbuilder index 02f93096..ca08f9f7 100644 --- a/app/views/api/v1/websites/show.json.jbuilder +++ b/app/views/api/v1/websites/show.json.jbuilder @@ -1,4 +1,4 @@ -json.(@website, :id, :app_secret, :app_key, :domain, :title) +json.(@website, :id, :app_id, :app_key, :domain, :title) json.errors @website.grouped_issues.count json.subscribers @website.subscribers.count json.members @website.members.count diff --git a/app/views/websites/_website_modal.html.haml b/app/views/websites/_website_modal.html.haml index 018e1e2d..848d2e47 100644 --- a/app/views/websites/_website_modal.html.haml +++ b/app/views/websites/_website_modal.html.haml @@ -108,7 +108,7 @@ %td.title %td.domain %td.app_key - %td.app_secret + %td.app_id .panel.panel-default.codeview .panel-heading Website Configuration %p Engage developers with users to solve errors. This is the js library that sends errors to our server. Use the iframe functionality to show the form, autofill the email address, removed unused css code.