Commit 68d6f5bc authored by tiagonbotelho's avatar tiagonbotelho Committed by Yorick Peterse

fixes typo

parent 93fb4ce2
...@@ -90,7 +90,7 @@ class Project < ActiveRecord::Base ...@@ -90,7 +90,7 @@ class Project < ActiveRecord::Base
before_save :check_main_language before_save :check_main_language
def check_main_language def check_main_language
if commit_count_changed? if commit_count_changed?
self.main_language = repository.main_language main_language = repository.main_language
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment