Patch #20243 ยป use_https_links_in_ApplicationHelper_and_RedmineInfo-trunk_r14396.diff
app/helpers/application_helper.rb (working copy) | ||
---|---|---|
1254 | 1254 |
# Returns a link to edit user's avatar if avatars are enabled |
1255 | 1255 |
def avatar_edit_link(user, options={}) |
1256 | 1256 |
if Setting.gravatar_enabled? |
1257 |
url = "http://gravatar.com" |
|
1257 |
url = "https://gravatar.com"
|
|
1258 | 1258 |
link_to avatar(user, {:title => l(:button_edit)}.merge(options)), url, :target => '_blank' |
1259 | 1259 |
end |
1260 | 1260 |
end |
lib/redmine/info.rb (working copy) | ||
---|---|---|
2 | 2 |
module Info |
3 | 3 |
class << self |
4 | 4 |
def app_name; 'Redmine' end |
5 |
def url; 'http://www.redmine.org/' end |
|
6 |
def help_url; 'http://www.redmine.org/guide' end |
|
5 |
def url; 'https://www.redmine.org/' end
|
|
6 |
def help_url; 'https://www.redmine.org/guide' end
|
|
7 | 7 |
def versioned_name; "#{app_name} #{Redmine::VERSION}" end |
8 | 8 | |
9 | 9 |
def environment |