mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-04 10:54:30 +08:00
Fix my_modules_controller typo [SCI-6278] (#3688)
This commit is contained in:
parent
881251fe14
commit
4fb9f8836d
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class MyModulesController < ApplicationController
|
||||||
start_date_changes = @my_module.changes[:started_on]
|
start_date_changes = @my_module.changes[:started_on]
|
||||||
due_date_changes = @my_module.changes[:due_date]
|
due_date_changes = @my_module.changes[:due_date]
|
||||||
|
|
||||||
if @my_module.completed_changed? && !can_complete_my_module?(@my_module)
|
if @my_module.completed_on_changed? && !can_complete_my_module?(@my_module)
|
||||||
render_403 && return
|
render_403 && return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue