lib/authpwn_rails/routes.rb in authpwn_rails-0.21.0 vs lib/authpwn_rails/routes.rb in authpwn_rails-0.21.1
- old
+ new
@@ -37,9 +37,12 @@
post "/#{paths}", controller: controller, action: 'create'
delete "/#{paths}", controller: controller, action: 'destroy'
get "/#{paths}/api_token", controller: controller, action: 'api_token',
as: "api_token_#{methods}"
+ delete "/#{paths}/api_token", controller: controller,
+ action: 'destroy_api_token',
+ as: "destroy_api_token_#{methods}"
get "/#{paths}/change_password", controller: controller,
action: 'password_change',
as: "change_password_#{methods}"
post "/#{paths}/change_password", controller: controller,
action: 'change_password'