From 43994d2d5c1804c3a565d6f42627311068975d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com> Date: Wed, 13 Oct 2021 14:45:52 +0200 Subject: [PATCH] scaleway local + extensions avatar --- app/views/devise/registrations/edit.html.erb | 2 +- config/environments/development.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index a8b07e9c7..591d78c30 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -24,7 +24,7 @@ <%= f.input :picture, as: :single_deletable_file, - input_html: { accept: '.png' } %> + input_html: { accept: '.jpg,.jpeg,.png' } %> <%= f.input :password, hint: t(".leave_blank_if_you_don_t_want_to_change_it"), diff --git a/config/environments/development.rb b/config/environments/development.rb index 883c18c4d..bea91d402 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -33,7 +33,7 @@ Rails.application.configure do end # Store uploaded files on the local file system (see config/storage.yml for options). - config.active_storage.service = :local + config.active_storage.service = :scaleway # Don't care if the mailer can't send. config.action_mailer.raise_delivery_errors = false -- GitLab