summaryrefslogtreecommitdiff
path: root/app/contexts
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-10 14:15:08 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-10 14:15:08 +0200
commit5289190ce844e445c0215852dabea5c2880c10dc (patch)
tree3d18650046fdcc3bb948f06d6d9aeaf999166e6b /app/contexts
parent6708a770de54e2dd4ee6c90b31b66e2c6f93aa2c (diff)
downloadgitlab-ce-5289190ce844e445c0215852dabea5c2880c10dc.tar.gz
Add require for Files contexts
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/contexts')
-rw-r--r--app/contexts/files/create_context.rb2
-rw-r--r--app/contexts/files/delete_context.rb2
-rw-r--r--app/contexts/files/update_context.rb2
3 files changed, 6 insertions, 0 deletions
diff --git a/app/contexts/files/create_context.rb b/app/contexts/files/create_context.rb
index 10273138559..88c262b6bf0 100644
--- a/app/contexts/files/create_context.rb
+++ b/app/contexts/files/create_context.rb
@@ -1,3 +1,5 @@
+require_relative "base_context"
+
module Files
class CreateContext < BaseContext
def execute
diff --git a/app/contexts/files/delete_context.rb b/app/contexts/files/delete_context.rb
index b1937721d42..307be225a07 100644
--- a/app/contexts/files/delete_context.rb
+++ b/app/contexts/files/delete_context.rb
@@ -1,3 +1,5 @@
+require_relative "base_context"
+
module Files
class DeleteContext < BaseContext
def execute
diff --git a/app/contexts/files/update_context.rb b/app/contexts/files/update_context.rb
index f40c7496994..c255032257c 100644
--- a/app/contexts/files/update_context.rb
+++ b/app/contexts/files/update_context.rb
@@ -1,3 +1,5 @@
+require_relative "base_context"
+
module Files
class UpdateContext < BaseContext
def execute