- soma_vetor_excluindo, soma_vetor, maior_vetor .., , , ajax, , .
, , MathController.rb soma_vetor_excluindo:
class MathController < ApplicationController
def soma_vetor_excluindo
end
def soma_vetor
end
def maior_vetor
end
end
, , , route, routes.rb - :
get 'math/soma_vetor_excluindo/:index/:vet', to 'math#soma_vetor_excluindo'
get 'math/soma_vetor/:vet', to 'math#soma_vetor'
get 'math/maior_vetor/:vet', to 'math#maior_vetor'
, localhost/math/soma_vetor_excluindo/1/2 URL-, , soma_vetor_excluindo, params[:index] params[:vet], script .
, , - .