Use double quotes in config/routes
This commit is contained in:
@@ -15,14 +15,14 @@ resources :budgets, only: [:show, :index] do
|
||||
end
|
||||
|
||||
resource :results, only: :show, controller: "budgets/results"
|
||||
resource :executions, only: :show, controller: 'budgets/executions'
|
||||
resource :executions, only: :show, controller: "budgets/executions"
|
||||
end
|
||||
|
||||
scope '/participatory_budget' do
|
||||
resources :spending_proposals, only: [:index, :new, :create, :show, :destroy], path: 'investment_projects' do
|
||||
scope "/participatory_budget" do
|
||||
resources :spending_proposals, only: [:index, :new, :create, :show, :destroy], path: "investment_projects" do
|
||||
post :vote, on: :member
|
||||
end
|
||||
end
|
||||
|
||||
get 'investments/:id/json_data', action: :json_data, controller: 'budgets/investments'
|
||||
get '/budgets/:budget_id/investments/:id/json_data', action: :json_data, controller: 'budgets/investments'
|
||||
get "investments/:id/json_data", action: :json_data, controller: "budgets/investments"
|
||||
get "/budgets/:budget_id/investments/:id/json_data", action: :json_data, controller: "budgets/investments"
|
||||
|
||||
Reference in New Issue
Block a user