Commit 38ec9d558cff0ef6cc3fa4194d14150ac192987c
Committed by
Rodrigo Souto
1 parent
c381dd45
Exists in
master
and in
29 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] | ... | ... |