Skip to content

Commit

Permalink
Required singleton for StrongParams wrapper
Browse files Browse the repository at this point in the history
wip
  • Loading branch information
alex-rogachev committed Jun 19, 2024
1 parent bcefafd commit 150b38c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/rage/controller/parameters_wrappers/strong_parameters.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'singleton'

module ParametersWrappers
class StrongParameters
include Singleton
Expand All @@ -6,4 +8,4 @@ def wrap_params(params)
ActionController::Parameters.new(params)
end
end
end
end

0 comments on commit 150b38c

Please sign in to comment.