fixed houd error

This commit is contained in:
zmagod 2016-09-06 16:21:37 +02:00
parent 691ae94d2c
commit 222ddf7438

View file

@ -38,8 +38,6 @@ class ResultsController < ApplicationController
end
def can_destroy_result_permission
unless can_delete_module_result(@result)
render_403
end
render_403 unless can_delete_module_result(@result)
end
end