aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/api_keys_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/api_keys_controller.rb')
-rw-r--r--app/controllers/api_keys_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api_keys_controller.rb b/app/controllers/api_keys_controller.rb
index bd225818b..7059cf52e 100644
--- a/app/controllers/api_keys_controller.rb
+++ b/app/controllers/api_keys_controller.rb
@@ -3,7 +3,7 @@ class ApiKeysController < BreadcrumbController
def create
@api_key = Api::V1::ApiKey.new(api_key_params.merge(organisation: current_organisation))
- create! { organisation_api_key_path(resource) }
+ create! { organisation_api_keys_path }
end
def index