mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-25 05:27:33 +08:00
Fix shared task assigned items [SCI-11007]
This commit is contained in:
parent
2ebb88c300
commit
efe19a776e
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ class MyModuleShareableLinksController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def load_repository
|
def load_repository
|
||||||
@repository = @my_module.assigned_repositories.viewable_by_user(current_user).find_by(id: params[:id])
|
@repository = @my_module.assigned_repositories.find_by(id: params[:id])
|
||||||
render_404 unless @repository
|
render_404 unless @repository
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue