Registration by invites #23
This commit is contained in:
@@ -7,7 +7,9 @@ Beathaven::Application.routes.draw do
|
||||
match 'listen/:id' => 'track#listen'
|
||||
match 'search/autocomplete' => 'artist#autocomplete'
|
||||
|
||||
# Registration & login
|
||||
match 'reg/:email/:code' => 'user#register', :constraints => { :email => /[-a-z0-9\._@]+/i, :code => /[a-z0-9]{8}/ }
|
||||
match 'reg/complete' => 'user#complete'
|
||||
|
||||
match '*a', :to => 'errors#routing'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user