aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock4
-rw-r--r--app/controllers/concerns/authorization.rb2
3 files changed, 4 insertions, 4 deletions
diff --git a/Gemfile b/Gemfile
index 5ade2e8c4..1a3df276e 100644
--- a/Gemfile
+++ b/Gemfile
@@ -65,7 +65,7 @@ gem 'oj', '~> 3.13'
gem 'ox', '~> 2.14'
gem 'parslet'
gem 'posix-spawn'
-gem 'pundit', '~> 2.1'
+gem 'pundit', '~> 2.2'
gem 'premailer-rails'
gem 'rack-attack', '~> 6.5'
gem 'rack-cors', '~> 1.1', require: 'rack/cors'
diff --git a/Gemfile.lock b/Gemfile.lock
index 37d101be5..2ad52feb0 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -440,7 +440,7 @@ GEM
public_suffix (4.0.6)
puma (5.6.2)
nio4r (~> 2.0)
- pundit (2.1.1)
+ pundit (2.2.0)
activesupport (>= 3.0.0)
raabro (1.4.0)
racc (1.6.0)
@@ -757,7 +757,7 @@ DEPENDENCIES
pry-byebug (~> 3.9)
pry-rails (~> 0.3)
puma (~> 5.6)
- pundit (~> 2.1)
+ pundit (~> 2.2)
rack (~> 2.2.3)
rack-attack (~> 6.5)
rack-cors (~> 1.1)
diff --git a/app/controllers/concerns/authorization.rb b/app/controllers/concerns/authorization.rb
index 95a37e379..05260cc8b 100644
--- a/app/controllers/concerns/authorization.rb
+++ b/app/controllers/concerns/authorization.rb
@@ -3,7 +3,7 @@
module Authorization
extend ActiveSupport::Concern
- include Pundit
+ include Pundit::Authorization
def pundit_user
current_account