summaryrefslogtreecommitdiff
path: root/app/controllers/projects/boards/application_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/projects/boards/application_controller.rb')
-rw-r--r--app/controllers/projects/boards/application_controller.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/app/controllers/projects/boards/application_controller.rb b/app/controllers/projects/boards/application_controller.rb
deleted file mode 100644
index dad38fff6b9..00000000000
--- a/app/controllers/projects/boards/application_controller.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-module Projects
- module Boards
- class ApplicationController < Projects::ApplicationController
- respond_to :json
-
- rescue_from ActiveRecord::RecordNotFound, with: :record_not_found
-
- private
-
- def record_not_found(exception)
- render json: { error: exception.message }, status: :not_found
- end
- end
- end
-end