mirror of
https://0xacab.org/sutty/sutty
synced 2024-07-05 23:55:45 +00:00
3bcdc5a00f
activestorage permite subida de archivos sin autenticación!
12 lines
210 B
Ruby
12 lines
210 B
Ruby
# frozen_string_literal: true
|
|
|
|
module ActiveStorage
|
|
module AuthenticatedDirectUploadsController
|
|
extend ActiveSupport::Concern
|
|
|
|
included do
|
|
before_action :authenticate_usuarie!
|
|
end
|
|
end
|
|
end
|