mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-09 13:28:53 +08:00
Fix delete connection in API [SCI-6087] (#3684)
This commit is contained in:
parent
ee8cb033fa
commit
2d6521db42
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module Api
|
||||||
before_action :load_experiment
|
before_action :load_experiment
|
||||||
before_action :load_connections
|
before_action :load_connections
|
||||||
before_action :load_connection, only: %i(show destroy)
|
before_action :load_connection, only: %i(show destroy)
|
||||||
before_action :check_manage_permissions, except: %i(index show)
|
before_action :check_manage_permissions, except: %i(index show destroy)
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@connections = @connections.page(params.dig(:page, :number))
|
@connections = @connections.page(params.dig(:page, :number))
|
||||||
|
|
Loading…
Add table
Reference in a new issue