lots of renaming to _ names instead of camelCase

This commit is contained in:
Thomas Hille
2017-02-26 18:03:55 +01:00
parent f63b9eeb3c
commit 1eea3fab4c
3 changed files with 29 additions and 30 deletions

View File

@ -76,7 +76,7 @@ module Lti
def require_valid_exercise_token
proxy_exercise = ProxyExercise.find_by(token: params[:custom_token])
unless proxy_exercise.nil?
@exercise = proxy_exercise.getMatchingExercise(@current_user)
@exercise = proxy_exercise.get_matching_exercise(@current_user)
else
@exercise = Exercise.find_by(token: params[:custom_token])
end