Commit bf0c1395 authored by Justin Ho's avatar Justin Ho

Fix method name in IntegrationsController

parent 66417518
......@@ -3,7 +3,7 @@
class Admin::IntegrationsController < Admin::ApplicationController
include ServiceParams
before_action :set_integration, only: [:edit, :update, :test]
before_action :service, only: [:edit, :update, :test]
def edit
end
......@@ -33,7 +33,7 @@ class Admin::IntegrationsController < Admin::ApplicationController
Project.first
end
def set_integration
def service
@service ||= project.find_or_initialize_service(params[:id])
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