aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/api_keys_controller.rb
diff options
context:
space:
mode:
authorAlban Peignier2017-09-30 14:56:42 +0200
committerAlban Peignier2017-09-30 14:56:42 +0200
commite1b15f5866ae142e447cf6478e9b93d3ad88971f (patch)
treeb3943bf19ba099fd0db12dbe6faec29188d0bb5f /app/controllers/api_keys_controller.rb
parent41b5f838990b187c944d682d959b2d4f3c94d7f0 (diff)
downloadchouette-core-e1b15f5866ae142e447cf6478e9b93d3ad88971f.tar.bz2
Update ApiKeysController to use /dashboard parent page. Refs #4655
Diffstat (limited to 'app/controllers/api_keys_controller.rb')
-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