Commit 0bdd449bcbfc78e83e306596d42825673af644ce
1 parent
98be0da5
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
fix register url
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/api/session.rb
| ... | ... | @@ -26,7 +26,7 @@ module API |
| 26 | 26 | # login - login |
| 27 | 27 | # Example Request: |
| 28 | 28 | # POST /register?email=some@mail.com&password=pas&login=some |
| 29 | - post "register" do | |
| 29 | + post "/register" do | |
| 30 | 30 | required_attributes! [:email, :login, :password] |
| 31 | 31 | unique_attributes! User, [:email, :login] |
| 32 | 32 | attrs = attributes_for_keys [:email, :login, :password] | ... | ... |