From 9dbe5ae8aa33cd7df3e52dbc5e703361340dfd9e Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Mon, 26 Sep 2022 17:52:20 +0200 Subject: [PATCH] Allow space in filename --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 7bffe21f..d28acc79 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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]