Permalink
Browse files

Use https in links

  • Loading branch information...
gambala committed May 25, 2018
1 parent 9fa96c2 commit 9546127b75eecfa7d525bd34157719d9e1c30531
@@ -12,7 +12,7 @@ def alert_class_for(flash_type)
def avatar_url(email, size)
gravatar_id = Digest::MD5.hexdigest(email.downcase)
"http://gravatar.com/avatar/#{gravatar_id}.png?s=#{size}"
"https://gravatar.com/avatar/#{gravatar_id}.png?s=#{size}"
end
def rating_in_gems(rating)
@@ -2,7 +2,7 @@ footer
.container
.text-center
| Сделали
=<> link_to 'Фрей', 'http://frey.su', target: '_blank', rel: 'noopener'
=<> link_to 'Фрей', 'https://frey.su', target: '_blank', rel: 'noopener'
| и
=<> link_to 'Gambala', 'https://gambala.pro', target: '_blank', rel: 'noopener'
br
@@ -1,5 +1,5 @@
- if comment.user.present?
.media.media-stack-overflow(itemscope itemtype='http://schema.org/Comment')
.media.media-stack-overflow(itemscope itemtype='https://schema.org/Comment')
.media-left
= image_tag avatar_url(comment.user.email, 144),
class: 'media-object media-object-responsive'
@@ -1,5 +1,5 @@
- courses.each do |course|
.media.media-stack-overflow(itemscope itemtype='http://schema.org/EducationEvent')
.media.media-stack-overflow(itemscope itemtype='https://schema.org/EducationEvent')
.media-left
- if course.rated?
= link_to course_path(course),
@@ -1,6 +1,6 @@
- title "#{@course.title}, отзывы и мнения"
section(itemscope itemtype='http://schema.org/EducationEvent')
section(itemscope itemtype='https://schema.org/EducationEvent')
section.section-red-promo
.container
.row
@@ -30,7 +30,6 @@
logger.formatter = config.log_formatter
end
# config.action_controller.asset_host = 'http://assets.example.com'
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
# config.action_mailer.raise_delivery_errors = false
View
@@ -1,31 +1,31 @@
free_russian_course:
title: Руссиш Курсиш
description: Самый лучший курс в рунете. Бесплатная версия.
url: http://russish-kursish.ru
url: https://russish-kursish.ru
paid: false
language: Русский
approved: true
paid_russian_course:
title: Руссиш Курсиш PRO
description: Самый лучший курс в рунете. Платная продвинутая версия.
url: http://russish-kursish.ru
url: https://russish-kursish.ru
paid: true
language: Русский
approved: true
free_english_course:
title: Ruby Buby
description: Best course in the internet. Free version.
url: http://ruby-buby.com
url: https://ruby-buby.com
paid: false
language: English
approved: true
paid_english_course:
title: Ruby Buby PRO
description: Best course in the internet. Paid pro version.
url: http://ruby-buby.com
url: https://ruby-buby.com
paid: true
language: English
approved: true
@@ -35,7 +35,7 @@ random_course_<%= i %>:
id: <%= i %>
title: Рандомный курс №<%= i %>
description: Однообразное описание курса.
url: http://site.ru
url: https://site.ru
paid: <%= [true, false].sample %>
language: <%= %w(Русский English).sample %>
approved: true

0 comments on commit 9546127

Please sign in to comment.