Fixed misspelled permission call.

This commit is contained in:
Matej Zrimšek 2018-02-22 14:08:12 +01:00
parent 4d69636dbe
commit 96a6779d55

View file

@ -640,7 +640,7 @@ class StepsController < ApplicationController
end
def check_view_permissions
render_403 unless can_read_protocol_in_module(@protocol) ||
render_403 unless can_read_protocol_in_module?(@protocol) ||
can_read_protocol_in_repository?(@protocol)
end