lib/authpwn_rails/routes.rb in authpwn_rails-0.18.0 vs lib/authpwn_rails/routes.rb in authpwn_rails-0.18.1
- old
+ new
@@ -35,9 +35,11 @@
get "/#{paths}/new", controller: controller, action: 'new',
as: :"new_#{methods}"
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}"
get "/#{paths}/change_password", controller: controller,
action: 'password_change',
as: "change_password_#{methods}"
post "/#{paths}/change_password", controller: controller,
action: 'change_password'