Skip to content

Commit

Permalink
Add user data
Browse files Browse the repository at this point in the history
  • Loading branch information
owenthereal committed May 29, 2012
1 parent 3ed1072 commit bbe6c5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/app.rb
Expand Up @@ -36,6 +36,7 @@ def self.environment
end

get '/users' do
User.create(:email => "foo#{Time.new.to_i}@bar.com")
User.all.collect { |u| u.email }
end
end

0 comments on commit bbe6c5f

Please sign in to comment.