Skip to content

Commit

Permalink
Update deprecated call for pundit
Browse files Browse the repository at this point in the history
  • Loading branch information
luciagirasoles committed Dec 5, 2022
1 parent a6529cc commit 57a4065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

class ApplicationController < ActionController::Base
include Pundit
include Pundit::Authorization

# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
Expand Down

0 comments on commit 57a4065

Please sign in to comment.