Skip to content

Commit

Permalink
Removed passing in include_group_links through the context to the aut…
Browse files Browse the repository at this point in the history
…horization policy missed in previous commit
  • Loading branch information
deepsidhu85 committed Dec 6, 2024
1 parent a3ddc42 commit 19f043c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/projects/samples/transfers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class TransfersController < Projects::ApplicationController
before_action :projects

def new
authorize! @project, to: :transfer_sample?, context: { include_group_links: false }
authorize! @project, to: :transfer_sample?

respond_to do |format|
format.turbo_stream do
Expand Down

0 comments on commit 19f043c

Please sign in to comment.