Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-05-17 02:44:54 +0300
committerDouwe Maan <douwe@selenight.nl>2017-05-17 18:57:40 +0300
commitc5a13781fad254e1984cf03f5487350e60f665e5 (patch)
tree802a0b15f6f0e5f6573200a3666366658e14159f /app/helpers/commits_helper.rb
parent67312fceaa69abb2bc88aa62601625e9f6a62270 (diff)
Use same last commit widget on project homepage and tree view
Diffstat (limited to 'app/helpers/commits_helper.rb')
-rw-r--r--app/helpers/commits_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/commits_helper.rb b/app/helpers/commits_helper.rb
index 6d6f1361bf9..d59d51905a6 100644
--- a/app/helpers/commits_helper.rb
+++ b/app/helpers/commits_helper.rb
@@ -91,7 +91,7 @@ module CommitsHelper
end
def link_to_browse_code(project, commit)
- return unless current_controller?(:projects, :commits)
+ return unless current_controller?(:commits)
if @path.blank?
return link_to(