some ruby
Ruby
code posted
by
Dino
created at 22 Nov 21:30
Edit
|
Back
1
2
3
4
5
6
7
8
9
10
11
12
13 |
get '/users' do
redirect to('/')
end
get '/users/new' do
haml :users_new
end
post '/users' do
@user = params[:user]
haml :user
end |
149 Bytes in 2 ms with coderay