diff --git a/Gemfile b/Gemfile index d80c2f0f0..a6d2ad37b 100644 --- a/Gemfile +++ b/Gemfile @@ -29,6 +29,7 @@ gem 'pundit', '~> 2.5.2' gem 'rack-attack', '~> 6.8.0' gem 'rails', '~> 7.2.3' gem 'rails-i18n', '~> 7.0.10' +gem 'redis', '~> 5.0' gem 'rest-client', '~> 2.1.0' gem 'sentry-rails', '~> 6.1', '>= 6.1.1' gem 'sentry-ruby', '~> 6.1', '>= 6.1.1' diff --git a/Gemfile.lock b/Gemfile.lock index b71d03334..90ffe4ff8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -417,8 +417,26 @@ GEM erb psych (>= 4.0.0) tsort + redis (5.4.1) + redis-client (>= 0.22.0) + redis-actionpack (5.5.0) + actionpack (>= 5) + redis-rack (>= 2.1.0, < 4) + redis-store (>= 1.1.0, < 2) + redis-activesupport (5.3.0) + activesupport (>= 3, < 8) + redis-store (>= 1.3, < 2) redis-client (0.26.1) connection_pool + redis-rack (3.0.0) + rack-session (>= 0.2.0) + redis-store (>= 1.2, < 2) + redis-rails (5.0.2) + redis-actionpack (>= 5.0, < 6) + redis-activesupport (>= 5.0, < 6) + redis-store (>= 1.2, < 2) + redis-store (1.11.0) + redis (>= 4, < 6) regexp_parser (2.11.3) reline (0.6.3) io-console (~> 0.5) @@ -638,6 +656,7 @@ DEPENDENCIES rails-controller-testing (~> 1.0.5) rails-i18n (~> 7.0.10) rb-readline (~> 0.5.5) + redis-rails (~> 5.0) rest-client (~> 2.1.0) rspec-rails (~> 8.0.2) rubocop (~> 1.81.7) diff --git a/app/views/payments/add.html.erb b/app/views/payments/add.html.erb index c1074cea0..ec2ec312f 100644 --- a/app/views/payments/add.html.erb +++ b/app/views/payments/add.html.erb @@ -10,7 +10,7 @@ Saldo opwaarderen voor <%= @user.name %> - <%= simple_form_for(@payment, wrapper: :horizontal_form) do |f| %> + <%= simple_form_for(@payment, wrapper: :horizontal_form, data: { turbo: false }) do |f| %>
Voer hier het bedrag in dat je wilt inleggen. Hierna zal je worden doorgestuurd naar de betaalomgeving.