summaryrefslogtreecommitdiff
path: root/app/serializers/request_aware_entity.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-11-02 14:36:21 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-11-02 15:00:48 +0100
commitf1e9c97d64b96bdd398616743ad048f8d147e26b (patch)
treec90b227256a610d4b639183c5e9b093de35d60f9 /app/serializers/request_aware_entity.rb
parentacfe394018df50bfc08aa9e41265231747675646 (diff)
downloadgitlab-ce-f1e9c97d64b96bdd398616743ad048f8d147e26b.tar.gz
Use entity request object in environment entity
Diffstat (limited to 'app/serializers/request_aware_entity.rb')
-rw-r--r--app/serializers/request_aware_entity.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/serializers/request_aware_entity.rb b/app/serializers/request_aware_entity.rb
index f6b6f64d0f8..fc7d1698b1a 100644
--- a/app/serializers/request_aware_entity.rb
+++ b/app/serializers/request_aware_entity.rb
@@ -1,9 +1,4 @@
module RequestAwareEntity
- # We use SerializableRequest class to collect parameters and variables
- # from the controller. Because options that are being passed to the entity
- # are appear in each entity in the chain, we need a way to access data
- # that is present in the controller (see #20045).
- #
def request
options[:request] ||
raise(StandardError, 'Request not set!!')