mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-30 19:48:18 +08:00
Fixed misspelled permission call.
This commit is contained in:
parent
4d69636dbe
commit
96a6779d55
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue