diff options
Diffstat (limited to 'app/controllers/graphql_controller.rb')
-rw-r--r-- | app/controllers/graphql_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/graphql_controller.rb b/app/controllers/graphql_controller.rb index 3ef03bc9622..0c17776b223 100644 --- a/app/controllers/graphql_controller.rb +++ b/app/controllers/graphql_controller.rb @@ -33,7 +33,7 @@ class GraphqlController < ApplicationController # Overridden from the ApplicationController to make the response look like # a GraphQL response. That is nicely picked up in Graphiql. def render_404 - render_error("Not found!", status: :not_found) + render_error(_("Not found!"), status: :not_found) end def render_error(message, status: 500) |