mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-28 03:11:15 +00:00
Use https links instead of http links in ApplicationHelper#avatar_edit_link and Redmine::Info class methods (#20243).
Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@14413 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e67bc3637e
commit
cb3edf00a5
@ -1254,7 +1254,7 @@ module ApplicationHelper
|
||||
# Returns a link to edit user's avatar if avatars are enabled
|
||||
def avatar_edit_link(user, options={})
|
||||
if Setting.gravatar_enabled?
|
||||
url = "http://gravatar.com"
|
||||
url = "https://gravatar.com"
|
||||
link_to avatar(user, {:title => l(:button_edit)}.merge(options)), url, :target => '_blank'
|
||||
end
|
||||
end
|
||||
|
||||
@ -2,8 +2,8 @@ module Redmine
|
||||
module Info
|
||||
class << self
|
||||
def app_name; 'Redmine' end
|
||||
def url; 'http://www.redmine.org/' end
|
||||
def help_url; 'http://www.redmine.org/guide' end
|
||||
def url; 'https://www.redmine.org/' end
|
||||
def help_url; 'https://www.redmine.org/guide' end
|
||||
def versioned_name; "#{app_name} #{Redmine::VERSION}" end
|
||||
|
||||
def environment
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user