summaryrefslogtreecommitdiff
path: root/config/locales
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-01-15 12:52:09 -0800
committerjessib <jessib@leap.se>2013-01-15 12:52:09 -0800
commite2021bdcc40b51ab5e571c97e882bba10dc80ad6 (patch)
tree59052403102c027dde9d73f4b85cc643e15bb86b /config/locales
parent3dc8886beb7d3689c87d9aa1e5ad2d4c6c5b4c55 (diff)
For both users and tickets, if the object is not found and the current user is an admin, they should see an alert that the object wasn't found, and be redirected to the current controller.
If the object isn't found and the current user is not an admin, then we will continue to give an error about no access, so as not to leak information about what IDs do and don't exist.
Diffstat (limited to 'config/locales')
-rw-r--r--config/locales/en.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 179c14c..fc61c31 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -3,3 +3,4 @@
en:
hello: "Hello world"
+ no_such_thing: "No such %{thing}."