Skip to content

Conversation

@claudiaalves
Copy link
Owner

No description provided.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pergunta: isto não podia estar noutro sítio? Se tem lógica não devia estar no modelo.

@paulosilva86
Copy link

No IX ainda não dá para usar esta sintaxe por causa da versão do Ruby (1.8.7):

<%= link_to "Eliminar", employee_path(employee.id), method: :delete , confirm: "Pretende eliminar?"%>

No IX ficaria:

<%= link_to "Eliminar", employee_path(employee.id), :method => :delete , :confirm => "Pretende eliminar?"%>

É só um alerta.

@paulosilva86
Copy link

Fizeste um excelente trabalho, parabéns :) 👍

@jqmtor
Copy link

jqmtor commented Apr 4, 2014

👍 Soon enough you'll be a hobbit from the Shire :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants