From 7ed47301c3ef508c3f7177c84f9647b755665f30 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sun, 23 Jun 2019 16:59:07 +0200 Subject: [PATCH] always include dois in events api --- app/controllers/events_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/events_controller.rb b/app/controllers/events_controller.rb index 4cd501ac7..975aa991f 100644 --- a/app/controllers/events_controller.rb +++ b/app/controllers/events_controller.rb @@ -182,7 +182,7 @@ def set_include @include = params[:include].split(",").map { |i| i.downcase.underscore.to_sym } @include &= [:dois] else - @include = [] + @include = [:dois] end end