diff --git a/config/routes/budget.rb b/config/routes/budget.rb index e3a0acc16..aef2c1413 100644 --- a/config/routes/budget.rb +++ b/config/routes/budget.rb @@ -18,4 +18,4 @@ scope '/participatory_budget' do end end -get 'investments/:id/json_data', to: :json_data, controller: 'budgets/investments' +get 'investments/:id/json_data', action: :json_data, controller: 'budgets/investments'