competition: fix visit increment

dev_auth
p31729568 5 years ago
parent b04de0e174
commit f12867a2ac

@ -44,6 +44,8 @@ class Competitions::CompetitionsController < Competitions::BaseController
@competition = current_competition
@competition_modules = @competition.unhidden_competition_modules
@user = current_user
current_competition.increment!(:visits)
end
def informs

Loading…
Cancel
Save