Commit bf0c1395 authored by Justin Ho's avatar Justin Ho

Fix method name in IntegrationsController

parent 66417518
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
class Admin::IntegrationsController < Admin::ApplicationController class Admin::IntegrationsController < Admin::ApplicationController
include ServiceParams include ServiceParams
before_action :set_integration, only: [:edit, :update, :test] before_action :service, only: [:edit, :update, :test]
def edit def edit
end end
...@@ -33,7 +33,7 @@ class Admin::IntegrationsController < Admin::ApplicationController ...@@ -33,7 +33,7 @@ class Admin::IntegrationsController < Admin::ApplicationController
Project.first Project.first
end end
def set_integration def service
@service ||= project.find_or_initialize_service(params[:id]) @service ||= project.find_or_initialize_service(params[:id])
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment