mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 01:03:18 +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_connections
|
||||
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
|
||||
@connections = @connections.page(params.dig(:page, :number))
|
||||
|
|
Loading…
Reference in a new issue