-
Notifications
You must be signed in to change notification settings - Fork 0
Step3 #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Step3 #3
Conversation
There was a problem hiding this comment.
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.
|
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. |
|
Fizeste um excelente trabalho, parabéns :) 👍 |
|
👍 Soon enough you'll be a hobbit from the Shire :D |
No description provided.