Skip to content

Commit

Permalink
Merge branch 'devel' into v1.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Mar 31, 2015
2 parents 624767d + fbd896d commit fb5578a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/common/_git_urls.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
= javascript_include_tag 'application', plugin: 'redmine_git_hosting'

- repositories = Array.wrap(repository) unless repositories
- if repositories.map(&:available_urls).flatten.reject { |m| m.blank? }.any?
- if repositories.map(&:available_urls).reject { |h| h.empty? }.any?
- repositories.sort_by { |r| r.is_default ? 0 : 1 }.each do |repository|
- next if repository.available_urls.empty?
- present repository do |p|
Expand Down
1 change: 1 addition & 0 deletions lib/redmine_git_hosting/patches/users_controller_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def self.included(base)
alias_method_chain :destroy, :git_hosting

helper :gitolite_public_keys
helper :redmine_bootstrap_kit
end
end

Expand Down

0 comments on commit fb5578a

Please sign in to comment.