Skip to content

Commit

Permalink
cleanup(API): drop the scope method from SecurityGuidesController
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman authored and romanblanco committed Nov 30, 2023
1 parent 00bd8c7 commit d41adc5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/controllers/v2/security_guides_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ def security_guide
@security_guide ||= authorize(expand_resource.find(permitted_params[:id]))
end

def scope
policy_scope(resource)
end

def resource
V2::SecurityGuide
end
Expand Down

0 comments on commit d41adc5

Please sign in to comment.