mirror of
https://github.com/czhu12/canine.git
synced 2026-02-04 10:49:07 -06:00
fix another verify connectivity bug
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
module Accounts
|
||||
class StackManagersController < ApplicationController
|
||||
before_action :authenticate_user!
|
||||
before_action :authorize_account, except: [ :verify_url, :check_reachable ]
|
||||
before_action :authorize_account, except: [ :verify_url, :check_reachable, :verify_connectivity ]
|
||||
before_action :set_stack_manager, only: [ :show, :edit, :update, :destroy, :sync_clusters, :sync_registries ]
|
||||
before_action :set_stack, only: [ :sync_clusters, :sync_registries ]
|
||||
skip_before_action :authenticate_user!, only: [ :verify_url, :check_reachable ]
|
||||
skip_before_action :authenticate_user!, only: [ :verify_url, :check_reachable, :verify_connectivity ]
|
||||
|
||||
def check_reachable
|
||||
url = params[:stack_manager][:url]
|
||||
|
||||
Reference in New Issue
Block a user