mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
strong params removed
This commit is contained in:
parent
7be7282d89
commit
ce218c34b9
2 changed files with 1 additions and 7 deletions
|
@ -21,7 +21,7 @@ module Actions
|
|||
end
|
||||
|
||||
def validate_new_balance
|
||||
return if @new_balance.blank?
|
||||
@error = true and return if @new_balance.blank?
|
||||
|
||||
begin
|
||||
!Float(@new_balance).nil?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue