configures responders gem [#5]

This commit is contained in:
rgarcia
2015-07-16 19:25:47 +02:00
parent 89b9c6672a
commit 9b3d41552d
6 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
en:
flash:
actions:
create:
notice: '%{resource_name} was successfully created.'
# alert: '%{resource_name} could not be created.'
update:
notice: '%{resource_name} was successfully updated.'
# alert: '%{resource_name} could not be updated.'
destroy:
notice: '%{resource_name} was successfully destroyed.'
alert: '%{resource_name} could not be destroyed.'

View File

@@ -0,0 +1,10 @@
es:
flash:
actions:
create:
notice: "%{resource_name} creado correctamente."
update:
notice: "%{resource_name} actualizado correctamente."
destroy:
notice: "%{resource_name} borrado correctamente."
alert: "%{resource_name} no ha podido ser borrado."