mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-23 04:08:14 +08:00
Merge pull request #7821 from artoscinote/ma_SCI_11007
Fix shared task assigned items [SCI-11007]
This commit is contained in:
commit
8a7ac76085
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