Remove the Google Gadget Integration

Google has discontinued the "Add any gadget by URL" Labs feature. Remove
the feature from the application.
This commit is contained in:
Matt Rogers 2015-08-07 21:31:00 -04:00
parent 5342877caf
commit bb934b6474
14 changed files with 1 additions and 68 deletions

View file

@ -1,7 +1,7 @@
class IntegrationsController < ApplicationController
require 'mail'
skip_before_filter :login_required, :only => [:cloudmailin, :search_plugin, :google_gadget]
skip_before_filter :login_required, :only => [:cloudmailin, :search_plugin]
skip_before_filter :verify_authenticity_token, only: [:cloudmailin]
def index
@ -17,10 +17,6 @@ class IntegrationsController < ApplicationController
pack('m').gsub(/\n/, '')
end
def google_gadget
render :layout => false, :content_type => Mime::XML
end
def cloudmailin
if !verify_cloudmailin_signature
render :text => "Message signature verification failed.", :status => 403