Merge branch 'master' of github.com:magnolia-fan/BeatHaven

Conflicts:
	config/routes.rb
This commit is contained in:
Hipster Hitman
2011-04-28 03:24:41 +04:00
24 changed files with 361 additions and 138 deletions
+8 -4
View File
@@ -1,10 +1,14 @@
# PostgreSQL version 9.0
# gem install pg
development:
defaults: &defaults
adapter: postgresql
database: beathaven
host: 192.168.0.128
username: postgres
password: password
pool: 5
timeout: 5000
timeout: 5000
development:
<<: *defaults
production:
<<: *defaults
+2
View File
@@ -20,6 +20,8 @@ Beathaven::Application.routes.draw do
match 'reg/:email/:code' => 'user#register', :constraints => { :email => /[-a-z0-9\._@]+/i, :code => /[a-f0-9]{64}/ }
match 'reg/complete' => 'user#complete'
match 'login' => 'user#login'
match 'user/profile' => 'user#update'
match 'user/invite' => 'user#invite'
match '*a', :to => 'errors#routing'
end