diff --git a/app/controllers/apipie/apipies_controller.rb b/app/controllers/apipie/apipies_controller.rb index 97243b494..2bf00a676 100644 --- a/app/controllers/apipie/apipies_controller.rb +++ b/app/controllers/apipie/apipies_controller.rb @@ -79,6 +79,7 @@ def apipie_checksum helper_method :heading def get_language + return nil unless Apipie.configuration.translate lang = Apipie.configuration.default_locale [:resource, :method, :version].each do |par| if params[par]