From b0cfad89f18db9ef106b5c726c859b1bc0cce5ef Mon Sep 17 00:00:00 2001 From: Seth Call Date: Fri, 15 May 2015 16:14:18 -0500 Subject: [PATCH] * fix any youtube URI in http --- web/app/controllers/users_controller.rb | 4 ++-- web/app/views/clients/_ftue.html.erb | 12 ++++++------ .../wizard/loopback/_loopback_wizard.html.haml | 6 +++--- .../views/dialogs/_gettingStartedDialog.html.slim | 2 +- web/app/views/dialogs/_whatsNextDialog.html | 4 ++-- web/app/views/events/event.html.haml | 2 +- web/app/views/music_sessions/show.html.erb | 2 +- web/app/views/shared/_cta_sidebar.html.erb | 6 +++--- web/app/views/users/home.html.slim | 6 +++--- 9 files changed, 22 insertions(+), 22 deletions(-) diff --git a/web/app/controllers/users_controller.rb b/web/app/controllers/users_controller.rb index a1d17d28d..47675f9ce 100644 --- a/web/app/controllers/users_controller.rb +++ b/web/app/controllers/users_controller.rb @@ -366,12 +366,12 @@ class UsersController < ApplicationController end if params[:id].present? && (service=params[:service]).present? service ||= 'facebook' - url = CGI::escape('http://www.jamkazam.com') + url = CGI::escape('https://www.jamkazam.com') txt = CGI::escape('Check out JamKazam -- Play music together over the Internet as if in the same room') if 'twitter'==service url = "https://twitter.com/intent/tweet?text=#{txt}&url=#{url}" elsif 'facebook'==service - url = "http://www.facebook.com/sharer/sharer.php?u=#{url}&t=#{txt}" + url = "https://www.facebook.com/sharer/sharer.php?u=#{url}&t=#{txt}" elsif 'google'==service url = "https://plus.google.com/share?url=#{url}" end diff --git a/web/app/views/clients/_ftue.html.erb b/web/app/views/clients/_ftue.html.erb index 9ef6872bd..3c1548b23 100644 --- a/web/app/views/clients/_ftue.html.erb +++ b/web/app/views/clients/_ftue.html.erb @@ -140,20 +140,20 @@