fix reference to method

pull/8374/head
ulferts 5 years ago
parent 00b42adde6
commit 45250f94bf
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 2
      modules/costs/app/controllers/cost_types_controller.rb

@ -129,7 +129,7 @@ class CostTypesController < ApplicationController
cr.valid_from = today
end
rate.rate = parse_number_string_to_number(params[:rate])
rate.rate = CostRate.parse_number_string_to_number(params[:rate])
if rate.save
flash[:notice] = t(:notice_successful_update)
redirect_to action: 'index'

Loading…
Cancel
Save