mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 18:52:07 +08:00
fixed houd error
This commit is contained in:
parent
691ae94d2c
commit
222ddf7438
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue