Allow space in filename

This commit is contained in:
Sebastian Serth
2022-09-26 17:52:20 +02:00
parent 4b00eb1e8c
commit 9dbe5ae8aa

View File

@ -1,6 +1,6 @@
# frozen_string_literal: true
FILENAME_REGEXP = %r{[\w\-./]+}.freeze unless Kernel.const_defined?(:FILENAME_REGEXP)
FILENAME_REGEXP = %r{[\w \-./]+}.freeze unless Kernel.const_defined?(:FILENAME_REGEXP)
Rails.application.routes.draw do
resources :community_solutions, only: %i[index edit update]