aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/api_keys_controller.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/api_keys_controller.rb b/app/controllers/api_keys_controller.rb
index f8b96afdc..7ae8d4732 100644
--- a/app/controllers/api_keys_controller.rb
+++ b/app/controllers/api_keys_controller.rb
@@ -6,7 +6,7 @@ class ApiKeysController < BreadcrumbController
@api_key = Api::V1::ApiKey.new(api_key_params.merge(organisation: current_organisation))
create! do |format|
format.html {
- redirect_to workbenches_path
+ redirect_to dashboard_path
}
end
end
@@ -14,7 +14,7 @@ class ApiKeysController < BreadcrumbController
def update
update! do |format|
format.html {
- redirect_to workbenches_path
+ redirect_to dashboard_path
}
end
end
@@ -22,7 +22,7 @@ class ApiKeysController < BreadcrumbController
def destroy
destroy! do |format|
format.html {
- redirect_to workbenches_path
+ redirect_to dashboard_path
}
end
end