Registration by invites #23

This commit is contained in:
magnolia-fan
2011-04-13 07:34:56 +04:00
parent 1e01c6cf7d
commit e20ed483c1
5 changed files with 116 additions and 2 deletions
+2
View File
@@ -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