summaryrefslogtreecommitdiff
path: root/app/controllers/admin
diff options
context:
space:
mode:
authorJB Vasseur <jvasseur@gmail.com>2018-10-18 17:46:03 +0900
committerJB Vasseur <jvasseur@gmail.com>2018-10-18 17:46:03 +0900
commit9f3408390102c3934e3a1e5f0edafe6f3d1c9862 (patch)
treed036c5623f7c4f990efd4c5baa14f5254681a923 /app/controllers/admin
parentfbd372114de4930e94266fbfee2268643e72930f (diff)
downloadgitlab-ce-9f3408390102c3934e3a1e5f0edafe6f3d1c9862.tar.gz
Remove useless braces !22296
Diffstat (limited to 'app/controllers/admin')
-rw-r--r--app/controllers/admin/applications_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/applications_controller.rb b/app/controllers/admin/applications_controller.rb
index 2fcd38607be..6fc336714b6 100644
--- a/app/controllers/admin/applications_controller.rb
+++ b/app/controllers/admin/applications_controller.rb
@@ -48,7 +48,7 @@ class Admin::ApplicationsController < Admin::ApplicationController
private
def set_application
- @application = ApplicationsFinder.new({ id: params[:id] }).execute
+ @application = ApplicationsFinder.new(id: params[:id]).execute
end
# Only allow a trusted parameter "white list" through.