Merge pull request #1433 from consul/budget-investments-delete

Budget investments delete
This commit is contained in:
Juanjo Bazán
2017-03-07 11:22:01 +01:00
committed by GitHub
8 changed files with 44 additions and 3 deletions

View File

@@ -428,6 +428,7 @@ en:
search: 'Filter'
title: 'Advanced search'
to: 'To'
delete: Delete
author_info:
author_deleted: User deleted
back: Go back

View File

@@ -428,6 +428,7 @@ es:
search: 'Filtrar'
title: 'Búsqueda avanzada'
to: 'Hasta'
delete: 'Borrar'
author_info:
author_deleted: Usuario eliminado
back: Volver

View File

@@ -298,7 +298,7 @@ Rails.application.routes.draw do
get :support_investments
get :print_investments
end
resources :investments, only: [:index, :new, :create, :show], controller: 'budgets/investments' do
resources :investments, only: [:index, :new, :create, :show, :destroy], controller: 'budgets/investments' do
post :vote, on: :member
get :print, on: :collection
end