diff --git a/config/routes.rb b/config/routes.rb index 0f77ddfc..8b773d00 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -39,6 +39,6 @@ scope :frontend, controller: :frontends, defaults: { version: GoodJob::VERSION.tr(".", "-") } do get "modules/:version/:id", action: :module, as: :frontend_module, constraints: { format: 'js' } - get "static/:version/:id", action: :static, as: :frontend_static, constraints: { format: %w[css js svg] } + get "static/:version/:id", action: :static, as: :frontend_static end end